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 4a777bf3224488fcd2e6ef90c6686f16a654277a..439e73ae7c46a65b3cb65f7e7039197443186035 100644 |
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
@@ -265,18 +265,18 @@ TEST_P(ParameterizedVisualViewportTest, TestResizeAtFullyScrolledPreservesViewpo |
ASSERT_POINT_EQ(FloatPoint(400, 300), visualViewport.location()); |
ASSERT_POINT_EQ(DoublePoint(200, 1400), frameView.layoutViewportScrollableArea()->scrollPositionDouble()); |
- DoublePoint expectedLocation = frameView.scrollableArea()->visibleContentRectDouble().location(); |
+ DoublePoint expectedLocation = frameView.getScrollableArea()->visibleContentRectDouble().location(); |
// Shrink the WebView, this should cause both viewports to shrink and |
// WebView should do whatever it needs to do to preserve the visible |
// location. |
webViewImpl()->resize(IntSize(700, 550)); |
- EXPECT_POINT_EQ(expectedLocation, frameView.scrollableArea()->visibleContentRectDouble().location()); |
+ EXPECT_POINT_EQ(expectedLocation, frameView.getScrollableArea()->visibleContentRectDouble().location()); |
webViewImpl()->resize(IntSize(800, 600)); |
- EXPECT_POINT_EQ(expectedLocation, frameView.scrollableArea()->visibleContentRectDouble().location()); |
+ EXPECT_POINT_EQ(expectedLocation, frameView.getScrollableArea()->visibleContentRectDouble().location()); |
} |