summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp')
-rw-r--r--Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp b/Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp
index b998f5836..5add2794f 100644
--- a/Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp
+++ b/Source/WebKit2/UIProcess/WebFrameListenerProxy.cpp
@@ -42,16 +42,16 @@ WebFrameListenerProxy::~WebFrameListenerProxy()
void WebFrameListenerProxy::invalidate()
{
- m_frame = 0;
+ m_frame = nullptr;
}
-void WebFrameListenerProxy::receivedPolicyDecision(WebCore::PolicyAction action)
+void WebFrameListenerProxy::receivedPolicyDecision(WebCore::PolicyAction action, const WebsitePolicies& websitePolicies)
{
if (!m_frame)
return;
- m_frame->receivedPolicyDecision(action, m_listenerID);
- m_frame = 0;
+ m_frame->receivedPolicyDecision(action, m_listenerID, m_navigation.get(), websitePolicies);
+ m_frame = nullptr;
}
} // namespace WebKit