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 e16d29ea8b0d5fc3041af772c21c477136107d12..7afa9fc86a482cf802ebf045f9ea9cf170e635d7 100644 |
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
@@ -250,8 +250,9 @@ void PageWidgetEventHandler::handleMouseUp(LocalFrame& mainFrame, |
WebInputEventResult PageWidgetEventHandler::handleMouseWheel( |
LocalFrame& mainFrame, |
const WebMouseWheelEvent& event) { |
- return mainFrame.eventHandler().handleWheelEvent( |
- PlatformWheelEventBuilder(mainFrame.view(), event)); |
+ WebMouseWheelEvent transformedEvent = |
+ TransformWebMouseWheelEvent(mainFrame.view(), event); |
+ return mainFrame.eventHandler().handleWheelEvent(transformedEvent); |
} |
WebInputEventResult PageWidgetEventHandler::handleTouchEvent( |