Commit c5c6a4e7 authored by xan@webkit.org's avatar xan@webkit.org

2009-10-07 Xan Lopez <xlopez@igalia.com>

        Fix the GTK+ build.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9db2e8fd
2009-10-07 Xan Lopez <xlopez@igalia.com>
Fix the GTK+ build.
* webkit/webkitwebpolicydecision.cpp:
(webkit_web_policy_decision_use):
(webkit_web_policy_decision_ignore):
(webkit_web_policy_decision_download):
2009-10-07 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
......
......@@ -86,7 +86,7 @@ void webkit_web_policy_decision_use(WebKitWebPolicyDecision* decision)
WebKitWebPolicyDecisionPrivate* priv = decision->priv;
if (!priv->isCancelled)
(core(priv->frame)->loader()->*(priv->framePolicyFunction))(WebCore::PolicyUse);
(core(priv->frame)->loader()->policyChecker()->*(priv->framePolicyFunction))(WebCore::PolicyUse);
}
/**
......@@ -104,7 +104,7 @@ void webkit_web_policy_decision_ignore(WebKitWebPolicyDecision* decision)
WebKitWebPolicyDecisionPrivate* priv = decision->priv;
if (!priv->isCancelled)
(core(priv->frame)->loader()->*(priv->framePolicyFunction))(WebCore::PolicyIgnore);
(core(priv->frame)->loader()->policyChecker()->*(priv->framePolicyFunction))(WebCore::PolicyIgnore);
}
/**
......@@ -122,7 +122,7 @@ void webkit_web_policy_decision_download(WebKitWebPolicyDecision* decision)
WebKitWebPolicyDecisionPrivate* priv = decision->priv;
if (!priv->isCancelled)
(core(priv->frame)->loader()->*(priv->framePolicyFunction))(WebCore::PolicyDownload);
(core(priv->frame)->loader()->policyChecker()->*(priv->framePolicyFunction))(WebCore::PolicyDownload);
}
void webkit_web_policy_decision_cancel(WebKitWebPolicyDecision* decision)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment