| 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 44bf8a89ee77ec428a91994d8d33968d7f99dedb..f8b1a928b035d41066201e816f15ea5a775baaac 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -1587,9 +1587,15 @@
|
| EXPECT_EQ(std::string("2000x1500"), std::string(output->innerHTML().ascii().data()));
|
| }
|
|
|
| +static void turnOnInvertedScrollOrder(WebSettings* settings)
|
| +{
|
| + VisualViewportTest::configureSettings(settings);
|
| + settings->setInvertViewportScrollOrder(true);
|
| +}
|
| +
|
| TEST_P(ParameterizedVisualViewportTest, PinchZoomGestureScrollsVisualViewportOnly)
|
| {
|
| - initializeWithDesktopSettings();
|
| + initializeWithDesktopSettings(turnOnInvertedScrollOrder);
|
| webViewImpl()->resize(IntSize(100, 100));
|
|
|
| registerMockedHttpURLLoad("200-by-800-viewport.html");
|
|
|