Skip to content
Permalink
Browse files
[WK2] Build fix after r160464
https://bugs.webkit.org/show_bug.cgi?id=125615

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2013-12-11
Reviewed by Gyuyoung Kim.

Modify the 2nd parameter for calling WebContext::addMessageReceiver from "this" to "*this"
because the parameter type is modified from CoreIPC::MessageReceiver* to CoreIPC::MessageReceiver&

* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
(WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
* UIProcess/WebBatteryManagerProxy.cpp:
(WebKit::WebBatteryManagerProxy::WebBatteryManagerProxy):
* UIProcess/WebNetworkInfoManagerProxy.cpp:
(WebKit::WebNetworkInfoManagerProxy::WebNetworkInfoManagerProxy):
* UIProcess/WebVibrationProxy.cpp:
(WebKit::WebVibrationProxy::WebVibrationProxy):
* UIProcess/soup/WebSoupRequestManagerProxy.cpp:
(WebKit::WebSoupRequestManagerProxy::WebSoupRequestManagerProxy):
* WebProcess/Battery/WebBatteryManager.cpp:
(WebKit::WebBatteryManager::WebBatteryManager):
* WebProcess/NetworkInfo/WebNetworkInfoManager.cpp:
(WebKit::WebNetworkInfoManager::WebNetworkInfoManager):
* WebProcess/soup/WebSoupRequestManager.cpp:
(WebKit::WebSoupRequestManager::WebSoupRequestManager):

Canonical link: https://commits.webkit.org/143658@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
kyungtae authored and Gyuyoung Kim committed Dec 12, 2013
1 parent 0d23af4 commit c58bb376a358c91f0ec64733d4086dd4d3c2eaa8
@@ -1,3 +1,30 @@
2013-12-11 KyungTae Kim <ktf.kim@samsung.com>

[WK2] Build fix after r160464
https://bugs.webkit.org/show_bug.cgi?id=125615

Reviewed by Gyuyoung Kim.

Modify the 2nd parameter for calling WebContext::addMessageReceiver from "this" to "*this"
because the parameter type is modified from CoreIPC::MessageReceiver* to CoreIPC::MessageReceiver&

* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
(WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
* UIProcess/WebBatteryManagerProxy.cpp:
(WebKit::WebBatteryManagerProxy::WebBatteryManagerProxy):
* UIProcess/WebNetworkInfoManagerProxy.cpp:
(WebKit::WebNetworkInfoManagerProxy::WebNetworkInfoManagerProxy):
* UIProcess/WebVibrationProxy.cpp:
(WebKit::WebVibrationProxy::WebVibrationProxy):
* UIProcess/soup/WebSoupRequestManagerProxy.cpp:
(WebKit::WebSoupRequestManagerProxy::WebSoupRequestManagerProxy):
* WebProcess/Battery/WebBatteryManager.cpp:
(WebKit::WebBatteryManager::WebBatteryManager):
* WebProcess/NetworkInfo/WebNetworkInfoManager.cpp:
(WebKit::WebNetworkInfoManager::WebNetworkInfoManager):
* WebProcess/soup/WebSoupRequestManager.cpp:
(WebKit::WebSoupRequestManager::WebSoupRequestManager):

2013-12-11 Anders Carlsson <andersca@apple.com>

MessageReceiverMap should take MessageReceiver objects by reference
@@ -38,7 +38,7 @@ CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy(CoordinatedDrawingA
: m_drawingAreaProxy(drawingAreaProxy)
, m_scene(adoptRef(new CoordinatedGraphicsScene(this)))
{
m_drawingAreaProxy->page()->process().addMessageReceiver(Messages::CoordinatedLayerTreeHostProxy::messageReceiverName(), m_drawingAreaProxy->page()->pageID(), this);
m_drawingAreaProxy->page()->process().addMessageReceiver(Messages::CoordinatedLayerTreeHostProxy::messageReceiverName(), m_drawingAreaProxy->page()->pageID(), *this);
}

CoordinatedLayerTreeHostProxy::~CoordinatedLayerTreeHostProxy()
@@ -48,7 +48,7 @@ WebBatteryManagerProxy::WebBatteryManagerProxy(WebContext* context)
: WebContextSupplement(context)
, m_isUpdating(false)
{
WebContextSupplement::context()->addMessageReceiver(Messages::WebBatteryManagerProxy::messageReceiverName(), this);
WebContextSupplement::context()->addMessageReceiver(Messages::WebBatteryManagerProxy::messageReceiverName(), *this);
}

WebBatteryManagerProxy::~WebBatteryManagerProxy()
@@ -49,7 +49,7 @@ WebNetworkInfoManagerProxy::WebNetworkInfoManagerProxy(WebContext* context)
: WebContextSupplement(context)
, m_isUpdating(false)
{
WebContextSupplement::context()->addMessageReceiver(Messages::WebNetworkInfoManagerProxy::messageReceiverName(), this);
WebContextSupplement::context()->addMessageReceiver(Messages::WebNetworkInfoManagerProxy::messageReceiverName(), *this);
}

WebNetworkInfoManagerProxy::~WebNetworkInfoManagerProxy()
@@ -43,7 +43,7 @@ PassRefPtr<WebVibrationProxy> WebVibrationProxy::create(WebPageProxy* page)
WebVibrationProxy::WebVibrationProxy(WebPageProxy* page)
: m_page(page)
{
m_page->process().context().addMessageReceiver(Messages::WebVibrationProxy::messageReceiverName(), m_page->pageID(), this);
m_page->process().context().addMessageReceiver(Messages::WebVibrationProxy::messageReceiverName(), m_page->pageID(), *this);
}

WebVibrationProxy::~WebVibrationProxy()
@@ -42,7 +42,7 @@ WebSoupRequestManagerProxy::WebSoupRequestManagerProxy(WebContext* context)
: WebContextSupplement(context)
, m_loadFailed(false)
{
WebContextSupplement::context()->addMessageReceiver(Messages::WebSoupRequestManagerProxy::messageReceiverName(), this);
WebContextSupplement::context()->addMessageReceiver(Messages::WebSoupRequestManagerProxy::messageReceiverName(), *this);
}

WebSoupRequestManagerProxy::~WebSoupRequestManagerProxy()
@@ -48,7 +48,7 @@ const char* WebBatteryManager::supplementName()
WebBatteryManager::WebBatteryManager(WebProcess* process)
: m_process(process)
{
m_process->addMessageReceiver(Messages::WebBatteryManager::messageReceiverName(), this);
m_process->addMessageReceiver(Messages::WebBatteryManager::messageReceiverName(), *this);
}

WebBatteryManager::~WebBatteryManager()
@@ -48,7 +48,7 @@ const char* WebNetworkInfoManager::supplementName()
WebNetworkInfoManager::WebNetworkInfoManager(WebProcess* process)
: m_process(process)
{
m_process->addMessageReceiver(Messages::WebNetworkInfoManager::messageReceiverName(), this);
m_process->addMessageReceiver(Messages::WebNetworkInfoManager::messageReceiverName(), *this);
}

WebNetworkInfoManager::~WebNetworkInfoManager()
@@ -84,7 +84,7 @@ WebSoupRequestManager::WebSoupRequestManager(WebProcess* process)
: m_process(process)
, m_schemes(adoptGRef(g_ptr_array_new_with_free_func(g_free)))
{
m_process->addMessageReceiver(Messages::WebSoupRequestManager::messageReceiverName(), this);
m_process->addMessageReceiver(Messages::WebSoupRequestManager::messageReceiverName(), *this);
}

WebSoupRequestManager::~WebSoupRequestManager()

0 comments on commit c58bb37

Please sign in to comment.