| 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 6822101b4e46b789d1f3a053e9bc52397484114a..599b3701fc1dabeab78f465d1690d94ca15affa9 100644
|
| --- a/ui/aura/window_event_dispatcher_unittest.cc
|
| +++ b/ui/aura/window_event_dispatcher_unittest.cc
|
| @@ -2320,10 +2320,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_->OnForwardingAsyncTouchEvent(event))
|
| + dispatcher_->ProcessedTouchEvent(event, window_, ui::ER_UNHANDLED);
|
| }
|
|
|
| WindowEventDispatcher* dispatcher_;
|
|
|