Index: content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc |
diff --git a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc |
index 26ad746f86b71b5d95f761f6ebe5e5cf2f5240dc..825a96bc8acff5006ebdb91563d48bffed29bcff 100644 |
--- a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc |
+++ b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc |
@@ -245,8 +245,9 @@ void SyntheticSmoothMoveGesture::ForwardMouseWheelEvent( |
SyntheticWebMouseWheelEventBuilder::Build(0, 0, delta.x(), delta.y(), 0, |
false); |
- mouse_wheel_event.x = current_move_segment_start_position_.x(); |
- mouse_wheel_event.y = current_move_segment_start_position_.y(); |
+ mouse_wheel_event.setPositionInWidget( |
+ current_move_segment_start_position_.x(), |
+ current_move_segment_start_position_.y()); |
mouse_wheel_event.setTimeStampSeconds(ConvertTimestampToSeconds(timestamp)); |