| 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 c48220c9b982670f937e3d025d61a06373815254..3b3a834853a9a65341493099f3c97bff0c64ef50 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;
|
|
|