Chromium Code Reviews| 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 a1dcdcd8fffcd632b494b647bf4e8eb9477420cc..508cc10e0927be0a86a8549dc92926d169ae162b 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
| @@ -407,7 +407,7 @@ void LayoutBoxModelObject::invalidateTreeIfNeeded(const PaintInvalidationState& |
| if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() |
| && previousPaintInvalidationRect != this->previousPaintInvalidationRect() |
| && !usesCompositedScrolling() |
| - && hasOverflowClip()) |
| + && (hasOverflowClip() || isLayoutView())) |
|
chrishtr
2016/08/05 22:51:46
Add a comment that isLayoutView() becomes unnecess
wkorman
2016/08/05 22:57:37
Done.
|
| newPaintInvalidationState.setForceSubtreeInvalidationRectUpdateWithinContainer(); |
| newPaintInvalidationState.updateForChildren(reason); |