[WK2] Build fix after r160464
[WebKit-https.git] / Source / WebKit2 / UIProcess / WebBatteryManagerProxy.cpp
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()