| Index: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| index fa86b988f4cf43a6f956574323cbeede92209353..5d196cadd6e390d865726f3b19aa390c0b6a4771 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| @@ -565,8 +565,7 @@ static void write(TextStream& ts, PaintLayer& layer,
|
| IntRect adjustedBackgroundClipRect = pixelSnappedIntRect(backgroundClipRect);
|
| IntRect adjustedClipRect = pixelSnappedIntRect(clipRect);
|
|
|
| - Settings* settings = layer.layoutObject()->document().settings();
|
| - bool reportFrameScrollInfo = layer.layoutObject()->isLayoutView() && settings && !settings->rootLayerScrolls();
|
| + bool reportFrameScrollInfo = layer.layoutObject()->isLayoutView() && !RuntimeEnabledFeatures::rootLayerScrollingEnabled();
|
|
|
| if (reportFrameScrollInfo) {
|
| LayoutView* layoutView = toLayoutView(layer.layoutObject());
|
|
|