Index: ui/aura/window_event_dispatcher.cc |
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc |
index 7b40c71a06e473df88478d3fc1641b00d402875e..961e6327fb4e131347e1fea6380acaecd5930338 100644 |
--- a/ui/aura/window_event_dispatcher.cc |
+++ b/ui/aura/window_event_dispatcher.cc |
@@ -157,15 +157,11 @@ DispatchDetails WindowEventDispatcher::DispatchMouseExitAtPoint( |
return DispatchMouseEnterOrExit(event, ui::ET_MOUSE_EXITED); |
} |
-void WindowEventDispatcher::ProcessedTouchEvent(ui::TouchEvent* event, |
- Window* window, |
+void WindowEventDispatcher::ProcessedTouchEvent(Window* window, |
ui::EventResult result) { |
- ui::TouchEvent orig_event(*event, window, this->window()); |
- // Once we've fully migrated to the eager gesture detector, we won't need to |
- // pass an event here. |
scoped_ptr<ui::GestureRecognizer::Gestures> gestures( |
- ui::GestureRecognizer::Get()->ProcessTouchEventOnAsyncAck( |
- orig_event, result, window)); |
+ ui::GestureRecognizer::Get()->ProcessTouchEventOnAsyncAck(result, |
+ window)); |
DispatchDetails details = ProcessGestures(gestures.get()); |
if (details.dispatcher_destroyed) |
return; |