| Index: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
|
| diff --git a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
|
| index 18589dfea6f4fcc6ab4250ea2140223b9644c309..197fcf407c41aca6832b4082264a26e76bab0c52 100644
|
| --- a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
|
| +++ b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
|
| @@ -426,8 +426,12 @@ void DeprecatedPaintLayerScrollableArea::setScrollOffset(const DoublePoint& newS
|
|
|
| // Just schedule a full paint invalidation of our object.
|
| // FIXME: This invalidation will be unnecessary in slimming paint phase 2.
|
| - if (requiresPaintInvalidation)
|
| - box().setShouldDoFullPaintInvalidation();
|
| + if (requiresPaintInvalidation) {
|
| + if (RuntimeEnabledFeatures::slimmingPaintEnabled())
|
| + box().setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
|
| + else
|
| + box().setShouldDoFullPaintInvalidation();
|
| + }
|
|
|
| // Schedule the scroll DOM event.
|
| if (box().node())
|
|
|