Index: third_party/WebKit/Source/web/LinkHighlightImplTest.cpp |
diff --git a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp |
index 6fc5f595cb56dde94924e743e71f5cca92a37f1d..181110b390cc84a4b5411d5a0422e7c48a76ce8d 100644 |
--- a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp |
+++ b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp |
@@ -72,6 +72,7 @@ TEST(LinkHighlightImplTest, verifyWebViewImplIntegration) |
WebGestureEvent touchEvent; |
touchEvent.type = WebInputEvent::GestureShowPress; |
+ touchEvent.sourceDevice = WebGestureDeviceTouchpad; |
Rick Byers
2015/10/19 18:20:29
Seems very weird to set touchpad here when it's cl
wjmaclean
2015/10/19 18:58:49
Done.
|
// The coordinates below are linked to absolute positions in the referenced .html file. |
touchEvent.x = 20; |
@@ -142,6 +143,7 @@ TEST(LinkHighlightImplTest, resetDuringNodeRemoval) |
WebGestureEvent touchEvent; |
touchEvent.type = WebInputEvent::GestureShowPress; |
+ touchEvent.sourceDevice = WebGestureDeviceTouchpad; |
Rick Byers
2015/10/19 18:20:29
ditto
wjmaclean
2015/10/19 18:58:49
Done.
|
touchEvent.x = 20; |
touchEvent.y = 20; |