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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp

Issue 2224263003: Include non-composited layout views in existing workaround for clipping changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « third_party/WebKit/LayoutTests/fast/repaint/resources/resize-iframe-text-src.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index 0c37eb5a09fc5bc64ed28b9910e68f96f9df9e0b..3ea4a8860e85050dcc59996cc8ac3300c77f712a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -407,7 +407,8 @@ void LayoutBoxModelObject::invalidateTreeIfNeeded(const PaintInvalidationState&
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()
&& previousPaintInvalidationRect != this->previousPaintInvalidationRect()
&& !usesCompositedScrolling()
- && hasOverflowClip())
+ // Note that isLayoutView() below becomes unnecessary after the launch of root layer scrolling.
+ && (hasOverflowClip() || isLayoutView()))
newPaintInvalidationState.setForceSubtreeInvalidationRectUpdateWithinContainer();
newPaintInvalidationState.updateForChildren(reason);
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/repaint/resources/resize-iframe-text-src.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698