Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
index ccc746e2acaad182726e41fe1e3977aeb47be271..e78f9a0f19cf5270dac9b68541e79461e56ee63e 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -863,8 +863,8 @@ WebInputEventResult WebFrameWidgetImpl::handleGestureEvent( |
NOTREACHED(); |
} |
LocalFrame* frame = m_localRoot->frame(); |
- eventResult = frame->eventHandler().handleGestureEvent( |
- PlatformGestureEventBuilder(frame->view(), event)); |
+ WebGestureEvent scaledEvent = ScaleWebGestureEvent(frame->view(), event); |
+ eventResult = frame->eventHandler().handleGestureEvent(scaledEvent); |
m_client->didHandleGestureEvent(event, eventCancelled); |
return eventResult; |
} |