summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp')
-rw-r--r--Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp b/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp
index 6f876cfcc..b63c80c7e 100644
--- a/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp
+++ b/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp
@@ -27,8 +27,9 @@
#include "WebCookieManagerProxy.h"
#include "SecurityOriginData.h"
-#include "WebCookieManagerMessages.h"
#include "WebContext.h"
+#include "WebCookieManagerMessages.h"
+#include "WebCookieManagerProxyMessages.h"
#include "WebSecurityOrigin.h"
namespace WebKit {
@@ -41,7 +42,7 @@ PassRefPtr<WebCookieManagerProxy> WebCookieManagerProxy::create(WebContext* cont
WebCookieManagerProxy::WebCookieManagerProxy(WebContext* context)
: m_webContext(context)
{
- m_webContext->deprecatedAddMessageReceiver(CoreIPC::MessageClassWebCookieManagerProxy, this);
+ m_webContext->addMessageReceiver(Messages::WebCookieManagerProxy::messageReceiverName(), this);
}
WebCookieManagerProxy::~WebCookieManagerProxy()