| 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 e1d3ca391ef088bf79da46d2110b12e693710a77..2049367d76af354817202b78d02a37dc94f97772 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1259,7 +1259,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();
|
| }
|
|
|