| 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 354c64b1a0a6f4efae4433f9f97c3108e0e25cbd..1a89132363f9f93593a9c2ace8c81095ffb63902 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -1749,8 +1749,7 @@ TEST_P(VisualViewportTest, bodyAndWindowScrollPropertiesAccountForViewport) {
|
| // body element as the viewport and don't apply scrolling to the HTML element.
|
| RuntimeEnabledFeatures::setScrollTopLeftInteropEnabled(false);
|
|
|
| - LocalDOMWindow* window =
|
| - webViewImpl()->mainFrameImpl()->frame()->localDOMWindow();
|
| + LocalDOMWindow* window = webViewImpl()->mainFrameImpl()->frame()->domWindow();
|
| window->scrollTo(100, 150);
|
| EXPECT_EQ(100, window->scrollX());
|
| EXPECT_EQ(150, window->scrollY());
|
|
|