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

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

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: 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 b4fae65b8e31661f5f8753f69f7b269c6b393a9f..68643e55bc33244900541d2b7ca8e179a0059076 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