Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
index b4840efa133860932ac436c58447e10f0ee7bac2..6e3efb5cda08a3f107c7093763000d6e2d586eff 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
@@ -178,7 +178,7 @@ void PaintInvalidator::invalidatePaintIfNeeded(FrameView& frameView, PaintInvali |
context.paintInvalidationContainer = context.paintInvalidationContainerForStackedContents = &layoutView->containerForPaintInvalidation(); |
context.paintingLayer = layoutView->layer(); |
- if (!frameView.frame().settings() || !frameView.frame().settings()->rootLayerScrolls()) |
+ if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled()) |
frameView.invalidatePaintOfScrollControlsIfNeeded(context); |
if (frameView.frame().selection().isCaretBoundsDirty()) |