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 4380755e63975ed52a9d4bfb543dea0279dad6a3..8f8dd26552d99110229a4d9867509040f42126ed 100644 |
--- a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp |
@@ -77,6 +77,8 @@ void ImeOnFocusTest::sendGestureTap(WebView* webView, IntPoint clientPoint) |
{ |
WebGestureEvent webGestureEvent; |
webGestureEvent.type = WebInputEvent::GestureTap; |
+ // GestureTap is only ever from touch screens. |
+ webGestureEvent.sourceDevice = WebGestureDeviceTouchscreen; |
webGestureEvent.x = clientPoint.x(); |
webGestureEvent.y = clientPoint.y(); |
webGestureEvent.globalX = clientPoint.x(); |