Commit 4510654b authored by ojan@chromium.org's avatar ojan@chromium.org

s/scheduleLayerUpdate/setNeedsCompositingUpdate in setRemoteWebLayer.

Now that frames always get a RenderLayer, we don't need to
actually do a layer update anymore.

Not sure how to test this. The original patch that added it
https://codereview.chromium.org/104433003 didn't have any
new tests.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175542 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent bcf10d8c
......@@ -548,7 +548,7 @@ void WebLocalFrameImpl::setRemoteWebLayer(WebLayer* webLayer)
frame()->setRemotePlatformLayer(webLayer);
// FIXME: This should be moved to WebRemoteFrame.
ASSERT(frame()->deprecatedLocalOwner());
frame()->deprecatedLocalOwner()->scheduleLayerUpdate();
frame()->deprecatedLocalOwner()->setNeedsCompositingUpdate();
}
void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClient)
......
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