Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index d7347a067b9b0baaa4909b5e922f6ec1d9e51cb3..8265ab97df4a29b2f05154d23af043011ce03bd7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -245,8 +245,7 @@ void LayoutBlock::updateFromStyle() |
if (shouldClipOverflow != hasOverflowClip()) { |
if (!shouldClipOverflow) |
getScrollableArea()->invalidateAllStickyConstraints(); |
- for (LayoutObject* child = firstChild(); child; child = child->nextSibling()) |
- child->setMayNeedPaintInvalidation(); |
+ setMayNeedPaintInvalidationSubtree(); |
} |
setHasOverflowClip(shouldClipOverflow); |
} |