Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1679943002: Fix internals method to return Layout Viewport scrollable area for FrameView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698