| Index: third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| index dbce543599c4478ae123567a37ebc5bba6745824..c6235cbfaae7c94080beb1f6e280891b744526e1 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| @@ -35,11 +35,12 @@ class EventHandlerTest : public ::testing::Test {
|
|
|
| class TapEventBuilder : public WebGestureEvent {
|
| public:
|
| - TapEventBuilder(IntPoint position, int tapCount) : WebGestureEvent() {
|
| - type = WebInputEvent::GestureTap;
|
| + TapEventBuilder(IntPoint position, int tapCount)
|
| + : WebGestureEvent(WebInputEvent::GestureTap,
|
| + WebInputEvent::NoModifiers,
|
| + TimeTicks::Now().InSeconds()) {
|
| x = globalX = position.x();
|
| y = globalY = position.y();
|
| - timeStampSeconds = TimeTicks::Now().InSeconds();
|
| sourceDevice = WebGestureDeviceTouchscreen;
|
| data.tap.tapCount = tapCount;
|
| data.tap.width = 5;
|
|
|