Commit 96a3d176 authored by dcheng@chromium.org's avatar dcheng@chromium.org

Psuedo revert "s/scheduleLayerUpdate/setNeedsCompositingUpdate in setWebLayer."

This method has been renamed already, so it's not a strict revert, but
it restores the original behavior.

BUG=none
TEST=browser_tests --gtest_filter=WebViewTest*Auto*
TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175620 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 102adc79
......@@ -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->setNeedsCompositingUpdate();
m_element->scheduleSVGFilterLayerUpdateHack();
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