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

Unified Diff: ui/events/gesture_detection/gesture_event_data.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.cc
diff --git a/ui/events/gesture_detection/gesture_event_data.cc b/ui/events/gesture_detection/gesture_event_data.cc
index 4da51786f0559b8cf4f03dcda394760e192c8f94..b1bf651cf95957e03c560883e20019e30d49eb4c 100644
--- a/ui/events/gesture_detection/gesture_event_data.cc
+++ b/ui/events/gesture_detection/gesture_event_data.cc
@@ -34,7 +34,7 @@ GestureEventData::GestureEventData(const GestureEventDetails& details,
GestureEventData::GestureEventData(EventType type,
const GestureEventData& other)
- : details(type, 0, 0),
+ : details(type),
motion_event_id(other.motion_event_id),
primary_tool_type(other.primary_tool_type),
time(other.time),

Powered by Google App Engine
This is Rietveld 408576698