Commit 3e13e2f0 authored by ojan@chromium.org's avatar ojan@chromium.org

s/scheduleLayerUpdate/setNeedsCompositingUpdate in setWebLayer.

This was added in http://src.chromium.org/viewvc/blink?view=revision&revision=80584.
It didn't have tests, so I'm not sure how to test this.
But plugins always have a RenderLayer, so there should be no
need to schedule a layer update anymore.

Review URL: https://codereview.chromium.org/318773003

git-svn-id: svn://svn.chromium.org/blink/trunk@175597 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent aa8c66c2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment