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

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

Issue 2569273002: Add constructors to WebInputEvents and setters so we can work at cleaning up these public structs. (Closed)
Patch Set: Rebase Created 3 years, 12 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 7d45f8ccea6d3ec9cfd569dceb39b23f088efc75..26ad746f86b71b5d95f761f6ebe5e5cf2f5240dc 100644
--- a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc
+++ b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc
@@ -248,7 +248,7 @@ void SyntheticSmoothMoveGesture::ForwardMouseWheelEvent(
mouse_wheel_event.x = current_move_segment_start_position_.x();
mouse_wheel_event.y = current_move_segment_start_position_.y();
- mouse_wheel_event.timeStampSeconds = ConvertTimestampToSeconds(timestamp);
+ mouse_wheel_event.setTimeStampSeconds(ConvertTimestampToSeconds(timestamp));
target->DispatchInputEventToPlatform(mouse_wheel_event);
}

Powered by Google App Engine
This is Rietveld 408576698