| Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index 031d7517c94adcf7d45edf78c6291ca4857a080a..e8eae7edafd79f34a30654c791dd22ec0ab1beca 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -417,7 +417,7 @@ bool ScrollingCoordinator::scrollableAreaScrollLayerDidChange(ScrollableArea* sc
|
| }
|
|
|
| // Update the viewport layer registration if the outer viewport may have changed.
|
| - if (m_page->settings().rootLayerScrolls() && isForRootLayer(scrollableArea))
|
| + if (RuntimeEnabledFeatures::rootLayerScrollingEnabled() && isForRootLayer(scrollableArea))
|
| m_page->chromeClient().registerViewportLayers();
|
|
|
| scrollableArea->layerForScrollingDidChange(m_programmaticScrollAnimatorTimeline.get());
|
|
|