| Index: content/browser/renderer_host/input/motion_event_web.cc
|
| diff --git a/content/browser/renderer_host/input/motion_event_web.cc b/content/browser/renderer_host/input/motion_event_web.cc
|
| index 2d276f0371ea23757ad508f23df1cdb496d015ed..bc47cf8c17734a662dc43ad10a8662340fbed16f 100644
|
| --- a/content/browser/renderer_host/input/motion_event_web.cc
|
| +++ b/content/browser/renderer_host/input/motion_event_web.cc
|
| @@ -63,14 +63,15 @@ int GetActionIndexFrom(const WebTouchEvent& event) {
|
| MotionEventWeb::MotionEventWeb(const WebTouchEvent& event)
|
| : event_(event),
|
| cached_action_(GetActionFrom(event)),
|
| - cached_action_index_(GetActionIndexFrom(event)) {
|
| + cached_action_index_(GetActionIndexFrom(event)),
|
| + unique_event_id_(event.uniqueTouchEventId) {
|
| DCHECK_GT(GetPointerCount(), 0U);
|
| }
|
|
|
| MotionEventWeb::~MotionEventWeb() {}
|
|
|
| -int MotionEventWeb::GetId() const {
|
| - return 0;
|
| +uint32 MotionEventWeb::GetUniqueEventId() const {
|
| + return unique_event_id_;
|
| }
|
|
|
| MotionEventWeb::Action MotionEventWeb::GetAction() const {
|
|
|