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

Unified Diff: ui/events/ozone/evdev/touch_event_converter_evdev.cc

Issue 514303002: Revert "ozone: evdev: Use tracking id for TouchEvent finger id" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/touch_event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev.cc b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
index 8d6a0b5568ca6228527030965ca1abe59352d2f6..525448a49c07ec7a27498ad47eb8dbf47a5fda32 100644
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
@@ -292,7 +292,7 @@ void TouchEventConverterEvdev::ReportEvents(base::TimeDelta delta) {
TouchEvent evt(events_[i].type_,
gfx::PointF(events_[i].x_, events_[i].y_),
/* flags */ 0,
- /* touch_id */ events_[i].finger_,
+ /* touch_id */ i,
delta,
/* radius_x */ events_[i].radius_x_,
/* radius_y */ events_[i].radius_y_,
« no previous file with comments | « no previous file | ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698