[WK2] Build fix after r160464
[WebKit-https.git] / Source / WebKit2 / WebProcess / Battery / WebBatteryManager.cpp
index a5875c93c69cb90f08b77785fc13e090f302b958..647a982e2ca19c3cb6182a55a84af2a69154c583 100644 (file)
@@ -48,7 +48,7 @@ const char* WebBatteryManager::supplementName()
 WebBatteryManager::WebBatteryManager(WebProcess* process)
     : m_process(process)
 {
 WebBatteryManager::WebBatteryManager(WebProcess* process)
     : m_process(process)
 {
-    m_process->addMessageReceiver(Messages::WebBatteryManager::messageReceiverName(), this);
+    m_process->addMessageReceiver(Messages::WebBatteryManager::messageReceiverName(), *this);
 }
 
 WebBatteryManager::~WebBatteryManager()
 }
 
 WebBatteryManager::~WebBatteryManager()