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

Unified Diff: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.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/ScrollingCoordinatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
index 253107f184de62e77d9bbc9c76626d435cb1cbd0..2be0d24562e3d5f081a766fa860aefd70bcc48a3 100644
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -162,7 +162,7 @@ TEST_P(ScrollingCoordinatorTest, fastScrollingByDefault) {
WebEventListenerClass::MouseWheel));
WebLayer* innerViewportScrollLayer =
- page->frameHost().visualViewport().scrollLayer()->platformLayer();
+ page->visualViewport().scrollLayer()->platformLayer();
ASSERT_TRUE(innerViewportScrollLayer->scrollable());
ASSERT_FALSE(innerViewportScrollLayer->shouldScrollOnMainThread());
}
@@ -188,7 +188,7 @@ TEST_P(ScrollingCoordinatorTest, fastScrollingCanBeDisabledWithSetting) {
// Main scrolling should also propagate to inner viewport layer.
WebLayer* innerViewportScrollLayer =
- page->frameHost().visualViewport().scrollLayer()->platformLayer();
+ page->visualViewport().scrollLayer()->platformLayer();
ASSERT_TRUE(innerViewportScrollLayer->scrollable());
ASSERT_TRUE(innerViewportScrollLayer->shouldScrollOnMainThread());
}
« no previous file with comments | « third_party/WebKit/Source/web/tests/RootScrollerTest.cpp ('k') | third_party/WebKit/Source/web/tests/TextFinderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698