Index: third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
index b3659aed420917507e9cdad1b8e332286f9ad7b6..395d78266dd257f90de798c419817f1e8a2cd566 100644 |
--- a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
@@ -370,8 +370,8 @@ void TouchActionTest::sendTouchEvent(WebView* webView, |
ASSERT_TRUE(type == WebInputEvent::TouchStart || |
type == WebInputEvent::TouchCancel); |
- WebTouchEvent webTouchEvent; |
- webTouchEvent.type = type; |
+ WebTouchEvent webTouchEvent(type, WebInputEvent::NoModifiers, |
+ WebInputEvent::TimeStampForTesting); |
if (type == WebInputEvent::TouchCancel) |
webTouchEvent.dispatchType = WebInputEvent::EventNonBlocking; |
webTouchEvent.touchesLength = 1; |