Chromium Code Reviews| Index: Source/web/WebLocalFrameImpl.cpp |
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
| index 9da6d1bc717b6c2687451c6a1db43f858cdc1764..d2018abed8584b7014b532461472f9e063823d3e 100644 |
| --- a/Source/web/WebLocalFrameImpl.cpp |
| +++ b/Source/web/WebLocalFrameImpl.cpp |
| @@ -556,6 +556,8 @@ void WebLocalFrameImpl::setRemoteWebLayer(WebLayer* webLayer) |
| // FIXME: This should be moved to WebRemoteFrame. |
| ASSERT(frame()->deprecatedLocalOwner()); |
| frame()->deprecatedLocalOwner()->setNeedsCompositingUpdate(); |
| + if (frame()->ownerRenderer()->layer()) |
| + frame()->ownerRenderer()->layer()->updateSelfPaintingLayer(); |
|
esprehn
2014/06/13 19:06:50
frames will always have layers, you don't need to
|
| } |
| void WebLocalFrameImpl::setPermissionClient(WebPermissionClient* permissionClient) |