Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImplTest.cpp

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Rebase and fix comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7ffc255f4f146e6fb16c52eaeab05abe376af0af 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 = ScaleWebGestureEvent(
webViewImpl->mainFrameImpl()->frameView(), touchEvent);
return webViewImpl->page()
->deprecatedLocalMainFrame()
->eventHandler()
- .targetGestureEvent(platformEvent, true);
+ .targetGestureEvent(scaledEvent, true);
}
TEST(LinkHighlightImplTest, verifyWebViewImplIntegration) {

Powered by Google App Engine
This is Rietveld 408576698