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

Unified Diff: ui/events/gestures/motion_event_aura.cc

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/gestures/motion_event_aura.cc
diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
index 174918fedc5a545da380fd2efd3205e36c3e3258..f59ebc7f50d30409a62193e4a041a2079669aea1 100644
--- a/ui/events/gestures/motion_event_aura.cc
+++ b/ui/events/gestures/motion_event_aura.cc
@@ -125,6 +125,7 @@ bool MotionEventAura::OnTouch(const TouchEvent& touch) {
}
UpdateCachedAction(touch);
+ set_unique_id(touch.unique_event_id());
set_flags(touch.flags());
set_event_time(touch.time_stamp() + base::TimeTicks());
return true;

Powered by Google App Engine
This is Rietveld 408576698