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

Unified Diff: ui/events/blink/blink_event_util.cc

Issue 2822293002: Fix latency info tracking for coalesced events. (Closed)
Patch Set: Fix unittest Created 3 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/blink/blink_event_util.cc
diff --git a/ui/events/blink/blink_event_util.cc b/ui/events/blink/blink_event_util.cc
index 6d9cccee98225a441da08ea4936360fa307167e1..7b3ee486d99c2ca2ac9c1dcbc73b9abfa6c64597 100644
--- a/ui/events/blink/blink_event_util.cc
+++ b/ui/events/blink/blink_event_util.cc
@@ -343,6 +343,7 @@ void Coalesce(const WebTouchEvent& event_to_coalesce, WebTouchEvent* event) {
event->moved_beyond_slop_region |= old_event.moved_beyond_slop_region;
event->dispatch_type = MergeDispatchTypes(old_event.dispatch_type,
event_to_coalesce.dispatch_type);
+ event->unique_touch_event_id = old_event.unique_touch_event_id;
}
bool CanCoalesce(const WebGestureEvent& event_to_coalesce,

Powered by Google App Engine
This is Rietveld 408576698