| Index: third_party/WebKit/Source/core/frame/VisualViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/VisualViewportTest.cpp b/third_party/WebKit/Source/core/frame/VisualViewportTest.cpp
|
| index edcb604cebae9c91e91696ebaaa11a60b44e0828..573321575b714e8ac6ec35c1719b0c47f7f49c13 100644
|
| --- a/third_party/WebKit/Source/core/frame/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/VisualViewportTest.cpp
|
| @@ -1842,6 +1842,16 @@ TEST_P(VisualViewportTest, SlowScrollAfterImplScroll) {
|
| EXPECT_SIZE_EQ(FloatSize(300, 200), visual_viewport.GetScrollOffset());
|
|
|
| // Send a scroll event on the main thread path.
|
| + WebGestureEvent gsb(WebInputEvent::kGestureScrollBegin,
|
| + WebInputEvent::kNoModifiers,
|
| + WebInputEvent::kTimeStampForTesting);
|
| + gsb.SetFrameScale(1);
|
| + gsb.source_device = kWebGestureDeviceTouchpad;
|
| + gsb.data.scroll_begin.delta_x_hint = -50;
|
| + gsb.data.scroll_begin.delta_x_hint = -60;
|
| + gsb.data.scroll_begin.delta_hint_units = WebGestureEvent::kPrecisePixels;
|
| + GetFrame()->GetEventHandler().HandleGestureEvent(gsb);
|
| +
|
| WebGestureEvent gsu(WebInputEvent::kGestureScrollUpdate,
|
| WebInputEvent::kNoModifiers,
|
| WebInputEvent::kTimeStampForTesting);
|
|
|