Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6820)

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 330283008: Fix rendering regression for out-of-process iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698