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

Unified Diff: mojo/services/html_viewer/touch_handler.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: mojo/services/html_viewer/touch_handler.cc
diff --git a/mojo/services/html_viewer/touch_handler.cc b/mojo/services/html_viewer/touch_handler.cc
index 6261dab93b7ae8cc6d265a5fdcd198f6d71e5849..5d3c648caf613ded26c11db2e3c468bf35032b3c 100644
--- a/mojo/services/html_viewer/touch_handler.cc
+++ b/mojo/services/html_viewer/touch_handler.cc
@@ -70,7 +70,6 @@ bool TouchHandler::UpdateMotionEvent(const mojo::Event& event) {
const base::TimeTicks timestamp(
base::TimeTicks::FromInternalValue(event.time_stamp));
if (current_motion_event_.get()) {
- current_motion_event_->set_id(current_motion_event_->GetId() + 1);
current_motion_event_->set_event_time(timestamp);
}

Powered by Google App Engine
This is Rietveld 408576698