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

Unified Diff: ui/events/gesture_detection/gesture_event_data_packet_unittest.cc

Issue 565583005: Clean up GestureEventDetails constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alwasy set oldest_touch_id_ to -1 in the constructor Created 6 years, 3 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: ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
diff --git a/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc b/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
index 8cdf5246b9a993a3a320a11d9f1df47f0a1b015e..a3e3860dd41e39e82ae5204c90d1da9de1e6653d 100644
--- a/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
+++ b/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
@@ -16,7 +16,7 @@ const float kTouchX = 13.7f;
const float kTouchY = 14.2f;
GestureEventData CreateGesture(EventType type) {
- return GestureEventData(GestureEventDetails(type, 0, 0),
+ return GestureEventData(GestureEventDetails(type),
0,
MotionEvent::TOOL_TYPE_FINGER,
base::TimeTicks(),

Powered by Google App Engine
This is Rietveld 408576698