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

Unified Diff: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp

Issue 2730573003: Moved FrameHost::m_visualViewport to Page (Closed)
Patch Set: Fixed some compile errors on mac and android Created 3 years, 9 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
Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
index 5965d0f34690bbbc7c1e96f34564f6b81437d707..231e2ca21c92975e3ced9cb7c3581277658b4c3f 100644
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
@@ -113,9 +113,7 @@ class RootScrollerTest : public ::testing::Test {
return webViewImpl()->mainFrameImpl()->frame()->view();
}
- VisualViewport& visualViewport() const {
- return frameHost().visualViewport();
- }
+ VisualViewport& visualViewport() const { return page().visualViewport(); }
BrowserControls& browserControls() const { return page().browserControls(); }

Powered by Google App Engine
This is Rietveld 408576698