Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
index d4eacc7f32b983831c1c58e44fc32441ff6ca661..99aeb48596b5b0694ea982f35e092474cc502cce 100644 |
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
@@ -470,8 +470,8 @@ WebInputEventResult WebPagePopupImpl::handleGestureEvent( |
return WebInputEventResult::NotHandled; |
} |
LocalFrame& frame = *toLocalFrame(m_page->mainFrame()); |
- return frame.eventHandler().handleGestureEvent( |
- PlatformGestureEventBuilder(frame.view(), event)); |
+ WebGestureEvent scaledEvent = ScaleWebGestureEvent(frame.view(), event); |
+ return frame.eventHandler().handleGestureEvent(scaledEvent); |
} |
void WebPagePopupImpl::handleMouseDown(LocalFrame& mainFrame, |