| Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| index 324dba7ebe6e7b28be8cb55e9c74568bb0c4cc61..dbcae53d74b75f87e296d5fed4370c3e30ac7d9f 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -229,7 +229,7 @@ TEST_P(VisualViewportTest, TestVisibleContentRect) {
|
| WebViewImpl()->Resize(size);
|
|
|
| // Scroll layout viewport and verify visibleContentRect.
|
| - WebViewImpl()->MainFrame()->SetScrollOffset(WebSize(0, 50));
|
| + WebViewImpl()->MainFrameImpl()->SetScrollOffset(WebSize(0, 50));
|
|
|
| VisualViewport& visual_viewport = GetFrame()->GetPage()->GetVisualViewport();
|
| EXPECT_EQ(IntRect(IntPoint(0, 0), size - scrollbar_size),
|
| @@ -330,7 +330,7 @@ TEST_P(VisualViewportTest, TestResizeAfterVerticalScroll) {
|
| WebViewImpl()->Resize(IntSize(100, 200));
|
|
|
| // Scroll main frame to the bottom of the document
|
| - WebViewImpl()->MainFrame()->SetScrollOffset(WebSize(0, 400));
|
| + WebViewImpl()->MainFrameImpl()->SetScrollOffset(WebSize(0, 400));
|
| EXPECT_SIZE_EQ(
|
| ScrollOffset(0, 400),
|
| GetFrame()->View()->LayoutViewportScrollableArea()->GetScrollOffset());
|
|
|