| 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 75484716c77f289197f6cc2da31ba8c2eeefb1a8..15ec9d455aa7f6dfb41f7ec31aa17e8f16cf0619 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -1865,9 +1865,10 @@ TEST_P(VisualViewportTest, SlowScrollAfterImplScroll) {
|
| EXPECT_SIZE_EQ(FloatSize(300, 200), visualViewport.getScrollOffset());
|
|
|
| // Send a scroll event on the main thread path.
|
| - WebGestureEvent gsu;
|
| + WebGestureEvent gsu(WebInputEvent::GestureScrollUpdate,
|
| + WebInputEvent::NoModifiers,
|
| + WebInputEvent::TimeStampForTesting);
|
| gsu.setFrameScale(1);
|
| - gsu.type = WebInputEvent::GestureScrollUpdate;
|
| gsu.sourceDevice = WebGestureDeviceTouchpad;
|
| gsu.data.scrollUpdate.deltaX = -50;
|
| gsu.data.scrollUpdate.deltaY = -60;
|
|
|