Unreviewed GTK build fix after r156946. The framePolicyFunction is an attribute
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 18:31:23 +0000 (18:31 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 18:31:23 +0000 (18:31 +0000)
on the WebKitWebPolicyDecisionPrivate object.

* webkit/webkitwebpolicydecision.cpp:
(webkit_web_policy_decision_use):
(webkit_web_policy_decision_ignore):
(webkit_web_policy_decision_download):

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

Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/webkit/webkitwebpolicydecision.cpp

index e98bad0..7ec7de1 100644 (file)
@@ -1,3 +1,13 @@
+2013-10-05  Zan Dobersek  <zdobersek@igalia.com>
+
+        Unreviewed GTK build fix after r156946. The framePolicyFunction is an attribute
+        on the WebKitWebPolicyDecisionPrivate object.
+
+        * webkit/webkitwebpolicydecision.cpp:
+        (webkit_web_policy_decision_use):
+        (webkit_web_policy_decision_ignore):
+        (webkit_web_policy_decision_download):
+
 2013-10-04  Darin Adler  <darin@apple.com>
 
         text-transform: lowercase is not lang-dependent (Turkish languages : tr,az)
index 92ce3b6..346dbb7 100644 (file)
@@ -85,7 +85,7 @@ void webkit_web_policy_decision_use(WebKitWebPolicyDecision* decision)
     WebKitWebPolicyDecisionPrivate* priv = decision->priv;
 
     if (!priv->isCancelled)
-        framePolicyFunction(WebCore::PolicyUse);
+        priv->framePolicyFunction(WebCore::PolicyUse);
 }
 
 /**
@@ -103,7 +103,7 @@ void webkit_web_policy_decision_ignore(WebKitWebPolicyDecision* decision)
     WebKitWebPolicyDecisionPrivate* priv = decision->priv;
 
     if (!priv->isCancelled)
-        framePolicyFunction(WebCore::PolicyIgnore);
+        priv->framePolicyFunction(WebCore::PolicyIgnore);
 }
 
 /**
@@ -121,7 +121,7 @@ void webkit_web_policy_decision_download(WebKitWebPolicyDecision* decision)
     WebKitWebPolicyDecisionPrivate* priv = decision->priv;
 
     if (!priv->isCancelled)
-        framePolicyFunction(WebCore::PolicyDownload);
+        priv->framePolicyFunction(WebCore::PolicyDownload);
 }
 
 void webkit_web_policy_decision_cancel(WebKitWebPolicyDecision* decision)