Index: Source/web/WebPopupMenuImpl.cpp |
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp |
index 06d36f45be7eb34d81d7b1af3b310ecc3abd71ba..c90267572f6f81da44c707b0632f0685cd661db9 100644 |
--- a/Source/web/WebPopupMenuImpl.cpp |
+++ b/Source/web/WebPopupMenuImpl.cpp |
@@ -213,7 +213,7 @@ void WebPopupMenuImpl::enterForceCompositingMode(bool enter) |
m_client->didDeactivateCompositor(); |
} else if (m_layerTreeView) { |
m_isAcceleratedCompositingActive = true; |
- m_client->didActivateCompositor(0); |
+ m_client->didActivateCompositor(); |
} else { |
TRACE_EVENT0("webkit", "WebPopupMenuImpl::enterForceCompositingMode(true)"); |
@@ -221,7 +221,7 @@ void WebPopupMenuImpl::enterForceCompositingMode(bool enter) |
m_layerTreeView = m_client->layerTreeView(); |
if (m_layerTreeView) { |
m_layerTreeView->setVisible(true); |
- m_client->didActivateCompositor(0); |
+ m_client->didActivateCompositor(); |
m_isAcceleratedCompositingActive = true; |
m_layerTreeView->setDeviceScaleFactor(m_client->deviceScaleFactor()); |
m_rootLayer = adoptPtr(Platform::current()->compositorSupport()->createContentLayer(this)); |