| Index: Source/core/layout/LayoutObject.cpp
|
| diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
|
| index 3dd14adb668dff34bc8254334ce61394e7e440bf..605c065a0814fdce73eb0eb2c5c3df475e2f4f59 100644
|
| --- a/Source/core/layout/LayoutObject.cpp
|
| +++ b/Source/core/layout/LayoutObject.cpp
|
| @@ -628,7 +628,10 @@ bool LayoutObject::skipInvalidationWhenLaidOutChildren() const
|
| if (hasNonCompositedScrollbars())
|
| return false;
|
|
|
| - return rendererHasNoBoxEffect();
|
| + if (RuntimeEnabledFeatures::slimmingPaintEnabled() && isDocumentElement())
|
| + return !hasBoxEffect();
|
| +
|
| + return rendererHasNoBoxEffectObsolete();
|
| }
|
|
|
| LayoutBlock* LayoutObject::firstLineBlock() const
|
|
|