| Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| index 9d380d2dcd495337a1986dfda0b18d4d71cab736..39031993baa0834cfc99fdfc4bb5d39d7dbd1876 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| @@ -296,7 +296,7 @@ void PaintInvalidationState::updateForNormalChildren()
|
| const LayoutBox& box = toLayoutBox(m_currentObject);
|
|
|
| if (box.isLayoutView()) {
|
| - if (!box.document().settings() || !box.document().settings()->rootLayerScrolls()) {
|
| + if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled()) {
|
| if (box != m_paintInvalidationContainer) {
|
| m_paintOffset -= toLayoutView(box).frameView()->scrollOffset();
|
| addClipRectRelativeToPaintOffset(toLayoutView(box).viewRect());
|
|
|