| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index c19121ee003cbbcfcc1514687d54ab80e6589498..1aa0dd521487a6ce27758482bc83e958a0cf85e6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -3812,7 +3812,7 @@ PaintInvalidationReason LayoutBox::paintInvalidationReason(const LayoutBoxModelO
|
|
|
| // LayoutBox::incrementallyInvalidatePaint() depends on positionFromPaintInvalidationBacking
|
| // which is not available when slimmingPaintOffsetCachingEnabled.
|
| - if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && (style()->hasBoxDecorations() || style()->hasBackground()))
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() && (style()->hasBoxDecorations() || style()->hasBackground()))
|
| return PaintInvalidationBorderBoxChange;
|
|
|
| // TODO(wangxianzhu): Remove incremental invalidation when we remove rect-based paint invalidation.
|
|
|