Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1147)

Unified Diff: content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc

Issue 2782893002: WebMouseEvent coordinates are now fractional & private (Closed)
Patch Set: Fixed compile failures. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..01729429dae5e4c0085b9f34cd004978a17d9ace 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,8 @@ 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.position.x = current_move_segment_start_position_.x();
+ mouse_wheel_event.position.y = current_move_segment_start_position_.y();
mouse_wheel_event.setTimeStampSeconds(ConvertTimestampToSeconds(timestamp));

Powered by Google App Engine
This is Rietveld 408576698