| 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());
|
| }
|
|
|