| Index: Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp
|
| index e07fa6e62d56fff44c15f7ca30b2936822caa5a2..131694909fe9b652c7a3087ca3db7ed73aacef6a 100644
|
| --- a/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -250,7 +250,12 @@ void LayoutBoxModelObject::invalidateTreeIfNeeded(const PaintInvalidationState&
|
| // ASSERT(&newPaintInvalidationContainer == containerForPaintInvalidation());
|
|
|
| PaintInvalidationReason reason = invalidatePaintIfNeeded(paintInvalidationState, newPaintInvalidationContainer);
|
| - clearPaintInvalidationState(paintInvalidationState);
|
| + if (reason != PaintInvalidationDelayedFull) {
|
| + clearPaintInvalidationState(paintInvalidationState);
|
| + } else {
|
| + // Mark this object as needing paint invalidation again in the next frame, due to the request for delayed paint invalidation.
|
| + setShouldDoFullPaintInvalidation();
|
| + }
|
|
|
| PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, newPaintInvalidationContainer);
|
| if (reason == PaintInvalidationLocationChange)
|
|
|