| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 21e6e9cd7f463c54dd4d7ea778c4bf3770bf49ad..92d305b7845e4b01c510175c60482ab9bc28ebc2 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -3408,6 +3408,10 @@ void LayoutObject::invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBo
|
| // under-invalidation if the new paint invalidation rect on the new paint invalidation container
|
| // happens to be the same as the old one.
|
| setPreviousPaintInvalidationRect(LayoutRect());
|
| + if (isBox()) {
|
| + if (PaintLayerScrollableArea* scrollableArea = toLayoutBox(this)->scrollableArea())
|
| + scrollableArea->clearPreviousPaintInvalidationRects();
|
| + }
|
| }
|
|
|
| void LayoutObject::invalidatePaintIncludingNonCompositingDescendants()
|
|
|