Instead of the opposite, it looks more natural to me and simplifies WKView code.
Created attachment 91451 [details] Patch
Created attachment 91455 [details] Updated patch I forgot to use new for the private struct, instead of GObject mechanism, so that page client and web page objecs are correctly released.
Comment on attachment 91455 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=91455&action=review > Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:379 > + priv->page->initializeWebPage(); Where is this method defined? > Source/WebKit2/UIProcess/gtk/WebView.h:50 > + WebPageProxy* page() const; Please call this one pageProxy, just to be clear.
Comment on attachment 91455 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=91455&action=review >> Source/WebKit2/UIProcess/gtk/WebView.h:50 >> + WebPageProxy* page() const; > > Please call this one pageProxy, just to be clear. Carlos reminded me that we are about to remove this.
Committed r85196: <http://trac.webkit.org/changeset/85196>