| 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 f4f03f0d8391e071a917159bc1499b6b5d7abc7b..faf9662502996bb0eb7be03823c8b0d087dacc57 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());
|
|
|