| 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 54c371e9d09500ca7c9601258e7c25a018b17bec..ce88afbcb046d558b621cc341d1504a7a3b0f28b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -3822,12 +3822,6 @@ PaintInvalidationReason LayoutBox::getPaintInvalidationReason(const LayoutBoxMod
|
| if (oldBorderBoxSize == newBorderBoxSize)
|
| return invalidationReason;
|
|
|
| - // LayoutBox::incrementallyInvalidatePaint() depends on positionFromPaintInvalidationBacking
|
| - // which is not available when slimmingPaintOffsetCachingEnabled.
|
| - if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() && (style()->hasBoxDecorations() || style()->hasBackground()))
|
| - return PaintInvalidationBorderBoxChange;
|
| -
|
| - // TODO(wangxianzhu): Remove incremental invalidation when we remove rect-based paint invalidation.
|
| // See another hasNonCompositedScrollbars() callsite above.
|
| if (hasNonCompositedScrollbars())
|
| return PaintInvalidationBorderBoxChange;
|
|
|