| Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| index 47ef71c74eebf919da0864f3e618aaae895a540f..32c4b1048798d599dba6dcc9c795d4e55adc9438 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -313,7 +313,10 @@ void PaintInvalidator::updateContext(const LayoutObject& object,
|
| context.forcedSubtreeInvalidationFlags &= PaintInvalidatorContext::
|
| ForcedSubtreeFullInvalidationForStackedContents;
|
| } else {
|
| - context.forcedSubtreeInvalidationFlags = 0;
|
| + // For SPv1, subtree flags don't cross paint invalidation container
|
| + // boundary except for ForcedWholeTreeFullInvalidation.
|
| + context.forcedSubtreeInvalidationFlags &=
|
| + PaintInvalidatorContext::ForcedWholeTreeFullInvalidation;
|
| }
|
| }
|
|
|
|
|