Index: ui/chromeos/touch_exploration_controller.cc |
diff --git a/ui/chromeos/touch_exploration_controller.cc b/ui/chromeos/touch_exploration_controller.cc |
index 7e00b640ab3b39cc824d7dce80fbc7b595528d34..2d90e27d9ba8fb545c272e77e5a9683d66466880 100644 |
--- a/ui/chromeos/touch_exploration_controller.cc |
+++ b/ui/chromeos/touch_exploration_controller.cc |
@@ -149,9 +149,10 @@ ui::EventRewriteStatus TouchExplorationController::RewriteEvent( |
// leaves one of these states, SET_STATE will set the gesture provider to |
// NULL. |
if (gesture_provider_.get()) { |
- gesture_provider_->OnTouchEvent(touch_event); |
- gesture_provider_->OnSyncTouchEventAck(touch_event.unique_event_id(), |
- false); |
+ ui::TouchEvent mutable_touch_event = touch_event; |
+ gesture_provider_->OnTouchEvent(&mutable_touch_event); |
+ gesture_provider_->OnSyncTouchEventAck( |
+ mutable_touch_event.unique_event_id(), false); |
ProcessGestureEvents(); |
} |