GTK Build fix: get globalExec from the right place.
[WebKit-https.git] / WebKit / gtk / WebView / webkitwebframe.cpp
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());
 }
 
 }