| 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 c34902ecec7e5da81b2824dc66d53d77890c1574..9534e3100d2d326208c8a9c88f2514344fcf0f4d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1258,7 +1258,11 @@ void LayoutObject::adjustPreviousPaintInvalidationForScrollIfNeeded(
|
|
|
| void LayoutObject::clearPreviousVisualRects() {
|
| setPreviousVisualRect(LayoutRect());
|
| - // After clearing ("invalidating" the visual rects, mark this object as
|
| + ObjectPaintInvalidator(*this).setPreviousLocationInBacking(LayoutPoint());
|
| + // Ensure check paint invalidation of subtree that would be triggered by
|
| + // location change if we had valid previous location.
|
| + setMayNeedPaintInvalidationSubtree();
|
| + // After clearing ("invalidating") the visual rects, mark this object as
|
| // needing to re-compute them.
|
| setShouldDoFullPaintInvalidation();
|
| }
|
|
|