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