| Index: components/html_viewer/touch_handler.cc
|
| diff --git a/components/html_viewer/touch_handler.cc b/components/html_viewer/touch_handler.cc
|
| index 7e84a1c1ff08fa2593b9a5bb94de8141c01b7a71..2d09d124f8b901168b5eb5f5f2a23362e68cdfa3 100644
|
| --- a/components/html_viewer/touch_handler.cc
|
| +++ b/components/html_viewer/touch_handler.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| #include "third_party/WebKit/public/web/WebView.h"
|
| +#include "ui/events/base_event_utils.h"
|
| #include "ui/events/blink/blink_event_util.h"
|
| #include "ui/events/gesture_detection/gesture_provider_config_helper.h"
|
| #include "ui/events/gesture_detection/motion_event_generic.h"
|
| @@ -70,7 +71,7 @@ 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_unique_event_id(ui::GetNextTouchEventId());
|
| current_motion_event_->set_event_time(timestamp);
|
| }
|
|
|
|
|