diff options
author | lanwei <lanwei@chromium.org> | 2015-05-25 10:24:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-25 17:25:30 +0000 |
commit | c67620d6f857f234404d921fcfd801fb495b5320 (patch) | |
tree | 4d9ef4522b5a232639c927dcb68aca855634ec18 /ui/chromeos | |
parent | f5323f49131b0c99dd61f0fc64f56f40317ccbdb (diff) | |
download | chromium_src-c67620d6f857f234404d921fcfd801fb495b5320.zip chromium_src-c67620d6f857f234404d921fcfd801fb495b5320.tar.gz chromium_src-c67620d6f857f234404d921fcfd801fb495b5320.tar.bz2 |
Validate that asynchronous touch acks are associated with the right event
The aura gesture recognizer currently only validates that synchronous touch
acks are associated with the right event. Now we also validate this for
asynchronous touch acks as well.
BUG=457669
Review URL: https://codereview.chromium.org/1135013003
Cr-Commit-Position: refs/heads/master@{#331294}
Diffstat (limited to 'ui/chromeos')
-rw-r--r-- | ui/chromeos/touch_exploration_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/chromeos/touch_exploration_controller.cc b/ui/chromeos/touch_exploration_controller.cc index 23ea740..0e17b54 100644 --- a/ui/chromeos/touch_exploration_controller.cc +++ b/ui/chromeos/touch_exploration_controller.cc @@ -151,8 +151,8 @@ ui::EventRewriteStatus TouchExplorationController::RewriteEvent( if (gesture_provider_.get()) { ui::TouchEvent mutable_touch_event = touch_event; if (gesture_provider_->OnTouchEvent(&mutable_touch_event)) { - gesture_provider_->OnSyncTouchEventAck( - mutable_touch_event.unique_event_id(), false); + gesture_provider_->OnTouchEventAck(mutable_touch_event.unique_event_id(), + false); } ProcessGestureEvents(); } |