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 { |