| Index: ui/aura/window_event_dispatcher_unittest.cc
|
| diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc
|
| index e5db0278fa235e17e4d87ba7a8b113b911bc3f01..b22ce517025b9bea3282edec11c0b7aa536f9ba3 100644
|
| --- a/ui/aura/window_event_dispatcher_unittest.cc
|
| +++ b/ui/aura/window_event_dispatcher_unittest.cc
|
| @@ -2342,10 +2342,9 @@ class AsyncWindowDelegate : public test::TestWindowDelegate {
|
| }
|
| private:
|
| virtual void OnTouchEvent(ui::TouchEvent* event) override {
|
| - // Convert touch event back to root window coordinates.
|
| - event->ConvertLocationToTarget(window_, window_->GetRootWindow());
|
| - dispatcher_->ProcessedTouchEvent(event, window_, ui::ER_UNHANDLED);
|
| event->StopPropagation();
|
| + if (dispatcher_->OnProcessingTouchEventAsync(event))
|
| + dispatcher_->ProcessedTouchEvent(event, window_, ui::ER_UNHANDLED);
|
| }
|
|
|
| WindowEventDispatcher* dispatcher_;
|
|
|