Currently it holds a WKPreferencesRef, but in the future we will have features in our port that are not controlled by this C API. Changing it to hold a QtWebPageProxy is more flexible.
Created attachment 113043 [details] Patch
Comment on attachment 113043 [details] Patch I think it's a good thing. At some point we will have to add APIs that are not in the C API but still public.
Comment on attachment 113043 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113043&action=review Great idea, r=me! > Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp:108 > - , m_preferences(0) > + , m_preferences() Remove this line completely.
Committed r98851: <http://trac.webkit.org/changeset/98851>