Index: third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
index f8efadd40a9d663196a3d0b689a182963f12843b..bdc5f91a415ba43c3c4a253e20a28d0490b252fd 100644 |
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
@@ -260,9 +260,11 @@ WebInputEventResult PageWidgetEventHandler::handleTouchEvent( |
LocalFrame& mainFrame, |
const WebTouchEvent& event, |
const std::vector<const WebInputEvent*>& coalescedEvents) { |
+ WebTouchEvent transformedEvent = |
+ TransformWebTouchEvent(mainFrame.view(), event); |
return mainFrame.eventHandler().handleTouchEvent( |
- PlatformTouchEventBuilder(mainFrame.view(), event), |
- createPlatformTouchEventVector(mainFrame.view(), coalescedEvents)); |
+ transformedEvent, |
+ TransformWebTouchEventVector(mainFrame.view(), coalescedEvents)); |
} |
} // namespace blink |