| Index: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| index 64fee79dc7be81d06b44ab4616e5098999747cc2..0c7f87c2431bff3624268c134932f5d5152bc275 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
| @@ -128,7 +128,7 @@ PaintInvalidationReason BoxPaintInvalidator::computePaintInvalidationReason()
|
| // and clipping is done by compositor()->m_containerLayer. Also the scrollbars
|
| // are always composited. There are no other box decoration on the LayoutView thus
|
| // we can safely exit here.
|
| - if (layoutView.usesCompositing() && (!layoutView.document().settings() || !layoutView.document().settings()->rootLayerScrolls()))
|
| + if (layoutView.usesCompositing() && !RuntimeEnabledFeatures::rootLayerScrollingEnabled())
|
| return reason;
|
| }
|
|
|
|
|