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

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

Issue 572593002: Revert of Clean up GestureEventDetails constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/touch_disposition_gesture_filter.cc
diff --git a/ui/events/gesture_detection/touch_disposition_gesture_filter.cc b/ui/events/gesture_detection/touch_disposition_gesture_filter.cc
index fcb92d495d4bca53df5016a50209ccfe95328076..a72390c473c3125d5dfa964f923a3c238238893b 100644
--- a/ui/events/gesture_detection/touch_disposition_gesture_filter.cc
+++ b/ui/events/gesture_detection/touch_disposition_gesture_filter.cc
@@ -21,7 +21,7 @@
const GestureEventDataPacket& packet) {
// As the event is purely synthetic, we needn't be strict with event flags.
int flags = EF_NONE;
- return GestureEventData(GestureEventDetails(type),
+ return GestureEventData(GestureEventDetails(type, 0, 0),
motion_event_id,
primary_tool_type,
packet.timestamp(),

Powered by Google App Engine
This is Rietveld 408576698