| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index ade7eb5229740517156b9be6fb893607ccaad600..423161ba0eb00c12b21d636c24723c821b1ad869 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -1910,9 +1910,11 @@ TEST_F(WebFrameTest,
|
| ASSERT_NE(nullptr, element);
|
| EXPECT_EQ(String("oldValue"), element->innerText());
|
|
|
| - PlatformGestureEvent gestureEvent(
|
| - PlatformEvent::EventType::GestureTap, hitPoint, hitPoint, IntSize(0, 0),
|
| - 0, PlatformEvent::NoModifiers, PlatformGestureSourceTouchscreen);
|
| + WebGestureEvent gestureEvent;
|
| + gestureEvent.type = WebInputEvent::GestureTap;
|
| + gestureEvent.x = gestureEvent.globalX = hitPoint.x();
|
| + gestureEvent.y = gestureEvent.globalY = hitPoint.y();
|
| + gestureEvent.sourceDevice = WebGestureDeviceTouchscreen;
|
| webViewHelper.webView()
|
| ->mainFrameImpl()
|
| ->frame()
|
|
|