[WK2] Build fix after r160464
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Dec 2013 04:01:26 +0000 (04:01 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Dec 2013 04:01:26 +0000 (04:01 +0000)
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):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp
Source/WebKit2/UIProcess/WebBatteryManagerProxy.cpp
Source/WebKit2/UIProcess/WebNetworkInfoManagerProxy.cpp
Source/WebKit2/UIProcess/WebVibrationProxy.cpp
Source/WebKit2/UIProcess/soup/WebSoupRequestManagerProxy.cpp
Source/WebKit2/WebProcess/Battery/WebBatteryManager.cpp
Source/WebKit2/WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
Source/WebKit2/WebProcess/soup/WebSoupRequestManager.cpp

index 3977733..5256783 100644 (file)
@@ -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
index b1c4325..155ba22 100644 (file)
@@ -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()
index f829ac1..00075da 100644 (file)
@@ -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()
index 420f317..b9b960b 100644 (file)
@@ -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()
index 9c14ea2..282257b 100644 (file)
@@ -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()
index 0f449cb..d2e7099 100644 (file)
@@ -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()
index a5875c9..647a982 100644 (file)
@@ -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()
index 844f9b5..5dbf522 100644 (file)
@@ -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()
index 20f9ea2..0f8cb63 100644 (file)
@@ -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()