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

Unified Diff: Source/core/rendering/RenderBox.cpp

Issue 326753002: Fix use of LayoutStateDisabler for RenderView invalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test expectations 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBox.cpp
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
index f61aa546519cb83b867cba3ece36daae5a63f687..92909837daab0c2cdb153ab6dced0a56b7772107 100644
--- a/Source/core/rendering/RenderBox.cpp
+++ b/Source/core/rendering/RenderBox.cpp
@@ -1631,7 +1631,7 @@ void RenderBox::invalidateTreeAfterLayout(const RenderLayerModelObject& paintInv
}
// FIXME: LayoutState should be enabled for other paint invalidation containers than the RenderView. crbug.com/363834
- if (establishesNewPaintInvalidationContainer) {
+ if (establishesNewPaintInvalidationContainer && !isRenderView()) {
LayoutStateDisabler disabler(*this);
RenderObject::invalidateTreeAfterLayout(newPaintInvalidationContainer);
} else {
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698