[GTK] Add missing initializer for pluginLoadPolicy in WKPageLoaderClient
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Aug 2013 08:04:40 +0000 (08:04 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Aug 2013 08:04:40 +0000 (08:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=120289

Reviewed by Philippe Normand.

* UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView): Add initializer for pluginLoadPolicy
and rename the comment of the previous one as
pluginLoadPolicy_deprecatedForUseWithV2.

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/gtk/WebKitLoaderClient.cpp

index 53c5d306dea3552386fc99a49d3f09fba65481a5..2126e1e3ffeac52a1f1547e3907fd9772a249933 100644 (file)
@@ -1,3 +1,15 @@
+2013-08-26  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Add missing initializer for pluginLoadPolicy in WKPageLoaderClient
+        https://bugs.webkit.org/show_bug.cgi?id=120289
+
+        Reviewed by Philippe Normand.
+
+        * UIProcess/API/gtk/WebKitLoaderClient.cpp:
+        (attachLoaderClientToView): Add initializer for pluginLoadPolicy
+        and rename the comment of the previous one as
+        pluginLoadPolicy_deprecatedForUseWithV2.
+
 2013-08-26  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] webkitCredentialGetCredential returns a temporary in g_return_val_if_fail
index 36cd6c0e6e7b0c2c4ad0590330962fa1b75a0080..c3c4a23b2ccfaacc6c9aba02330d6e7fe64b692a 100644 (file)
@@ -176,8 +176,9 @@ void attachLoaderClientToView(WebKitWebView* webView)
         0, // didReceiveIntentForFrame
         0, // registerIntentServiceForFrame
         0, // didLayout
-        0, // pluginLoadPolicy
+        0, // pluginLoadPolicy_deprecatedForUseWithV2
         0, // pluginDidFail
+        0, // pluginLoadPolicy
     };
     WKPageRef wkPage = toAPI(webkitWebViewBaseGetPage(WEBKIT_WEB_VIEW_BASE(webView)));
     WKPageSetPageLoaderClient(wkPage, &wkLoaderClient);