Index: third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp |
index 830283f592765b3bd9ff228f35d521bc4a1e1374..2d7d55249c36d9e96f959714635a9bb8d23ea9bc 100644 |
--- a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp |
@@ -63,8 +63,9 @@ class ImeOnFocusTest : public ::testing::Test { |
}; |
void ImeOnFocusTest::sendGestureTap(WebView* webView, IntPoint clientPoint) { |
- WebGestureEvent webGestureEvent; |
- webGestureEvent.type = WebInputEvent::GestureTap; |
+ WebGestureEvent webGestureEvent(WebInputEvent::GestureTap, |
+ WebInputEvent::NoModifiers, |
+ WebInputEvent::TimeStampForTesting); |
// GestureTap is only ever from touch screens. |
webGestureEvent.sourceDevice = WebGestureDeviceTouchscreen; |
webGestureEvent.x = clientPoint.x(); |