[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 3977733928f0ae588ed06b3fec048e260b19ef0a..52567831b46ce806b17f0500167c3e160128bc2e 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 b1c4325f5f74c3b0480271455ee697fafeac617d..155ba22114149c1e676eaeadae5eced45c6a3278 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 f829ac1c36ff0588bd043e921047a9f2ab39bb1d..00075daaece75dd4b4030c3d7863c7f8895be61e 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 420f3179ee7b60e8c16a1ece38c3c22f53271106..b9b960b64999b2533f74d5f9d0c2272e22b4986a 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 9c14ea2021d22f0d86513936b9b3ae9cb5217238..282257b03562b207bcf8e2cceed1409eee274475 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 0f449cbff40146ca461b3201fbea45a30609b965..d2e7099e582218b70b976f48775d013731611a97 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 a5875c93c69cb90f08b77785fc13e090f302b958..647a982e2ca19c3cb6182a55a84af2a69154c583 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 844f9b5c49041ca2f860560897ce66406b5b994d..5dbf5224e3a3bbfa4b06895946480a7a1a106faf 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 20f9ea28b30810d1ba5ebc564ace6a76b76cf3c0..0f8cb634576ca8eaa18bc60a6f77dbcd1c81d09d 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()