Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index e6f84ffc8f017c8b309cf4d2372e5466b4420738..87a3d7a831f0793e4f020a02d084ee7abd549c3d 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -4845,4 +4845,11 @@ ShapeOutsideInfo* LayoutBox::shapeOutsideInfo() const |
return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*this) : nullptr; |
} |
+void LayoutBox::clearPreviousPaintInvalidationRects() |
+{ |
+ LayoutBoxModelObject::clearPreviousPaintInvalidationRects(); |
+ if (PaintLayerScrollableArea* scrollableArea = this->scrollableArea()) |
+ scrollableArea->clearPreviousPaintInvalidationRects(); |
+} |
+ |
} // namespace blink |