GTK+ build fix. Like r154620.
[WebKit-https.git] / Source / WebKit / gtk / webkit / webkitwebframe.cpp
index 40fb10819fb99e48de216dea15e85b7224a0a987..753b949172902752afe8683a0a84ba17d7d017c8 100644 (file)
@@ -553,7 +553,7 @@ WebKitWebFrame* webkit_web_frame_new(WebKitWebView* webView)
 
     priv->webView = webView;
     priv->coreFrame = viewPriv->corePage->mainFrame();
-    static_cast<WebKit::FrameLoaderClient*>(viewPriv->corePage->mainFrame()->loader().client())->setWebFrame(frame);
+    static_cast<WebKit::FrameLoaderClient*>(&viewPriv->corePage->mainFrame()->loader().client())->setWebFrame(frame);
     priv->coreFrame->init();
 
     priv->origin = 0;