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

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

Issue 2655303004: Add id properties to PointerEvent (Closed)
Patch Set: pointer id Created 3 years, 10 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/ozone/evdev/event_factory_evdev.cc
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc
index 286419eaf14ef9eae3c663ba25aaef679b002c1e..58e11f8a190662ccb7917b32d19fb7a4d0199a44 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.cc
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc
@@ -346,7 +346,7 @@ void EventFactoryEvdev::DispatchTouchEvent(const TouchEventParams& params) {
DispatchUiEvent(&touch_event);
if (params.type == ET_TOUCH_RELEASED || params.type == ET_TOUCH_CANCELLED) {
- touch_id_generator_.ReleaseGeneratedID(touch_event.touch_id());
+ touch_id_generator_.ReleaseGeneratedID(touch_event.pointer_details().id);
}
}

Powered by Google App Engine
This is Rietveld 408576698