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