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 3dbb8f19d6baed34f48af03cc4b99137f5dd66a1..1c4411d702c41ca1d682d3fa092d0f1ffd0f5c4e 100644 |
--- a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp |
+++ b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp |
@@ -55,12 +55,12 @@ namespace blink { |
GestureEventWithHitTestResults getTargetedEvent(WebViewImpl* webViewImpl, |
WebGestureEvent& touchEvent) { |
- PlatformGestureEventBuilder platformEvent( |
+ WebGestureEvent scaledEvent = TransformWebGestureEvent( |
webViewImpl->mainFrameImpl()->frameView(), touchEvent); |
return webViewImpl->page() |
->deprecatedLocalMainFrame() |
->eventHandler() |
- .targetGestureEvent(platformEvent, true); |
+ .targetGestureEvent(scaledEvent, true); |
} |
TEST(LinkHighlightImplTest, verifyWebViewImplIntegration) { |