Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index d60efc75f62a6723d0f493729e2dd536d5024b6d..f36130bbf92e8902c9093ae8cf9572d27717fe7c 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -196,7 +196,7 @@ static ScrollableArea* scrollableAreaForNode(Node* node) |
if (node->isDocumentNode()) { |
// This can be removed after root layer scrolling is enabled. |
if (FrameView* frameView = toDocument(node)->view()) |
- return frameView->scrollableArea(); |
+ return frameView->layoutViewportScrollableArea(); |
} |
LayoutObject* layoutObject = node->layoutObject(); |