| Index: ui/aura/window_event_dispatcher.cc
|
| diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
|
| index eadda03f6794645960382900eb4dcc4970ebb0a6..452cea8ccfcbc7b6f3669a465f2d99e72206e80f 100644
|
| --- a/ui/aura/window_event_dispatcher.cc
|
| +++ b/ui/aura/window_event_dispatcher.cc
|
| @@ -161,8 +161,8 @@ void WindowEventDispatcher::ProcessedTouchEvent(ui::TouchEvent* event,
|
| ui::EventResult result) {
|
| // TODO(tdresser): Move this to PreDispatchTouchEvent, to enable eager
|
| // gesture detection. See crbug.com/410280.
|
| - if (!ui::GestureRecognizer::Get()
|
| - ->ProcessTouchEventPreDispatch(*event, window)) {
|
| + if (!ui::GestureRecognizer::Get()->ProcessTouchEventPreDispatch(event,
|
| + window)) {
|
| return;
|
| }
|
|
|
| @@ -510,9 +510,8 @@ ui::EventDispatchDetails WindowEventDispatcher::PostDispatchEvent(
|
|
|
| // TODO(tdresser): Move this to PreDispatchTouchEvent, to enable eager
|
| // gesture detection. See crbug.com/410280.
|
| - if (!ui::GestureRecognizer::Get()
|
| - ->ProcessTouchEventPreDispatch(orig_event,
|
| - static_cast<Window*>(target))) {
|
| + if (!ui::GestureRecognizer::Get()->ProcessTouchEventPreDispatch(
|
| + &orig_event, static_cast<Window*>(target))) {
|
| return details;
|
| }
|
|
|
|
|