summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget_view.cc')
-rw-r--r--views/widget/native_widget_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/widget/native_widget_view.cc b/views/widget/native_widget_view.cc
index 911170d..85cb30e 100644
--- a/views/widget/native_widget_view.cc
+++ b/views/widget/native_widget_view.cc
@@ -104,7 +104,8 @@ void NativeWidgetView::OnMouseExited(const MouseEvent& event) {
}
ui::TouchStatus NativeWidgetView::OnTouchEvent(const TouchEvent& event) {
- return delegate()->OnTouchEvent(event);
+ TouchEvent e(event, this);
+ return delegate()->OnTouchEvent(e);
}
bool NativeWidgetView::OnKeyPressed(const KeyEvent& event) {