GTK Build fix: get globalExec from the right place.
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2007 08:10:06 +0000 (08:10 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Dec 2007 08:10:06 +0000 (08:10 +0000)
        * WebView/webkitwebframe.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28332 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/gtk/ChangeLog
WebKit/gtk/WebView/webkitwebframe.cpp

index 8c9cace2386951083c3356d3122a83f06144ee7c..37883e4770587dacc64f203640c6944d960a5d3f 100644 (file)
@@ -1,3 +1,9 @@
+2007-12-03  Geoffrey Garen  <ggaren@apple.com>
+
+        GTK Build fix: get globalExec from the right place.
+
+        * WebView/webkitwebframe.cpp:
+
 2007-12-01  Alp Toker  <alp@atoker.com>
 
         Reviewed by Adam Roben.
index ee179a01c8ca26d0d691827b701d856629ab2f26..3ef76350131ae6dfcc2463c39bfc6def891e4ca7 100644 (file)
@@ -382,7 +382,7 @@ JSGlobalContextRef webkit_web_frame_get_global_context(WebKitWebFrame* frame)
     Frame* coreFrame = core(frame);
     g_return_val_if_fail(coreFrame, NULL);
 
-    return toGlobalRef(coreFrame->scriptProxy()->interpreter()->globalExec());
+    return toGlobalRef(coreFrame->scriptProxy()->globalObject()->globalExec());
 }
 
 }