diff options
author | sky <sky@chromium.org> | 2015-04-01 11:03:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-01 18:04:24 +0000 |
commit | 5cc50da20adb781970fc495d324c30eb40cb31c4 (patch) | |
tree | 448c5b3b2c59bf7f891a685ccd4fda86dba25311 /mojo | |
parent | 04f9de655915bfaf9fa2c90ee4848452ca71d89f (diff) | |
download | chromium_src-5cc50da20adb781970fc495d324c30eb40cb31c4.zip chromium_src-5cc50da20adb781970fc495d324c30eb40cb31c4.tar.gz chromium_src-5cc50da20adb781970fc495d324c30eb40cb31c4.tar.bz2 |
Fixes action index of MotionEvent
R=erg@chromium.org
Review URL: https://codereview.chromium.org/1047423002
Cr-Commit-Position: refs/heads/master@{#323285}
Diffstat (limited to 'mojo')
-rw-r--r-- | mojo/services/html_viewer/touch_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/services/html_viewer/touch_handler.cc b/mojo/services/html_viewer/touch_handler.cc index 8e09ad1..6261dab 100644 --- a/mojo/services/html_viewer/touch_handler.cc +++ b/mojo/services/html_viewer/touch_handler.cc @@ -126,7 +126,7 @@ bool TouchHandler::UpdateMotionEvent(const mojo::Event& event) { } current_motion_event_->pointer(index) = properties; current_motion_event_->set_action(ui::MotionEvent::ACTION_MOVE); - current_motion_event_->set_action_index(0); + current_motion_event_->set_action_index(static_cast<int>(index)); return true; } |