Index: content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue.cc b/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
index 65f3b62ec049ae41d0f830e18e35389fe61314fd..607d69e03f03763a234990bb59bc954229c23363 100644 |
--- a/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
+++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
@@ -91,10 +91,12 @@ void MouseWheelEventQueue::ProcessMouseWheelAck( |
WebInputEvent::GestureScrollUpdate, WebInputEvent::NoModifiers, |
event_sent_for_gesture_ack_->event.timeStampSeconds()); |
- scroll_update.x = event_sent_for_gesture_ack_->event.x; |
- scroll_update.y = event_sent_for_gesture_ack_->event.y; |
- scroll_update.globalX = event_sent_for_gesture_ack_->event.globalX; |
- scroll_update.globalY = event_sent_for_gesture_ack_->event.globalY; |
+ scroll_update.x = event_sent_for_gesture_ack_->event.positionInWidget().x; |
+ scroll_update.y = event_sent_for_gesture_ack_->event.positionInWidget().y; |
+ scroll_update.globalX = |
+ event_sent_for_gesture_ack_->event.positionInScreen().x; |
+ scroll_update.globalY = |
+ event_sent_for_gesture_ack_->event.positionInScreen().y; |
scroll_update.sourceDevice = blink::WebGestureDeviceTouchpad; |
scroll_update.resendingPluginId = -1; |