| 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 1c4411d702c41ca1d682d3fa092d0f1ffd0f5c4e..bb30b8ef9710219cfa495cd3fa2f8113af9d1423 100644
|
| --- a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
|
| +++ b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
|
| @@ -78,8 +78,9 @@ TEST(LinkHighlightImplTest, verifyWebViewImplIntegration) {
|
| webViewImpl->resize(WebSize(pageWidth, pageHeight));
|
| webViewImpl->updateAllLifecyclePhases();
|
|
|
| - WebGestureEvent touchEvent;
|
| - touchEvent.type = WebInputEvent::GestureShowPress;
|
| + WebGestureEvent touchEvent(WebInputEvent::GestureShowPress,
|
| + WebInputEvent::NoModifiers,
|
| + WebInputEvent::TimeStampForTesting);
|
| touchEvent.sourceDevice = WebGestureDeviceTouchscreen;
|
|
|
| // The coordinates below are linked to absolute positions in the referenced
|
| @@ -155,8 +156,9 @@ TEST(LinkHighlightImplTest, resetDuringNodeRemoval) {
|
| webViewImpl->resize(WebSize(pageWidth, pageHeight));
|
| webViewImpl->updateAllLifecyclePhases();
|
|
|
| - WebGestureEvent touchEvent;
|
| - touchEvent.type = WebInputEvent::GestureShowPress;
|
| + WebGestureEvent touchEvent(WebInputEvent::GestureShowPress,
|
| + WebInputEvent::NoModifiers,
|
| + WebInputEvent::TimeStampForTesting);
|
| touchEvent.sourceDevice = WebGestureDeviceTouchscreen;
|
| touchEvent.x = 20;
|
| touchEvent.y = 20;
|
| @@ -202,8 +204,9 @@ TEST(LinkHighlightImplTest, resetLayerTreeView) {
|
| webViewImpl->resize(WebSize(pageWidth, pageHeight));
|
| webViewImpl->updateAllLifecyclePhases();
|
|
|
| - WebGestureEvent touchEvent;
|
| - touchEvent.type = WebInputEvent::GestureShowPress;
|
| + WebGestureEvent touchEvent(WebInputEvent::GestureShowPress,
|
| + WebInputEvent::NoModifiers,
|
| + WebInputEvent::TimeStampForTesting);
|
| touchEvent.sourceDevice = WebGestureDeviceTouchscreen;
|
| touchEvent.x = 20;
|
| touchEvent.y = 20;
|
|
|