diff options
-rw-r--r-- | views/focus/accelerator_handler_touch.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/focus/accelerator_handler_touch.cc b/views/focus/accelerator_handler_touch.cc index ed74122..99dd049 100644 --- a/views/focus/accelerator_handler_touch.cc +++ b/views/focus/accelerator_handler_touch.cc @@ -51,13 +51,11 @@ bool DispatchX2Event(Widget* widget, XEvent* xev) { case XI_TouchBegin: case XI_TouchEnd: case XI_TouchUpdate: { - Event::FromNativeEvent2 from_native; - // Hide the cursor when a touch event comes in. ui::TouchFactory::GetInstance()->SetCursorVisible(false, false); // If the TouchEvent is processed by |widget|, then return. - TouchEvent touch(xev, from_native); + TouchEvent touch(xev); if (widget->OnTouchEvent(touch) != ui::TOUCH_STATUS_UNKNOWN) return true; |