Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 913a73fa329b4c39a76854d99114f819b5c1d22c..1f4f4d1b76c5184b92dda7e2b2763f2e4756358c 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -291,7 +291,7 @@ void WebPluginContainerImpl::setWebLayer(WebLayer* layer) |
// If anyone of the layers is null we need to switch between hardware |
// and software compositing. |
if (!m_webLayer || !layer) |
- m_element->scheduleLayerUpdate(); |
+ m_element->setNeedsCompositingUpdate(); |
if (m_webLayer) |
GraphicsLayer::unregisterContentsLayer(m_webLayer); |
if (layer) |