| 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 63135a7435b505179c5546a2d0651fb8ed746b72..f825347fe6c24a1e5b5dcde11786a1fe97cb15d6 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -1848,8 +1848,8 @@ TEST_P(ParameterizedVisualViewportTest, ResizeWithScrollAnchoring)
|
| FrameView& frameView = *webViewImpl()->mainFrameImpl()->frameView();
|
| frameView.layoutViewportScrollableArea()->setScrollPosition(DoublePoint(700, 500), ProgrammaticScroll);
|
|
|
| - webViewImpl()->resize(IntSize(400, 300));
|
| - EXPECT_POINT_EQ(DoublePoint(300, 200), frameView.layoutViewportScrollableArea()->scrollPositionDouble());
|
| + webViewImpl()->resize(IntSize(800, 300));
|
| + EXPECT_POINT_EQ(DoublePoint(700, 200), frameView.layoutViewportScrollableArea()->scrollPositionDouble());
|
|
|
| RuntimeEnabledFeatures::setScrollAnchoringEnabled(wasScrollAnchoringEnabled);
|
| }
|
|
|