summaryrefslogtreecommitdiffstats
path: root/views/focus/accelerator_handler_touch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/focus/accelerator_handler_touch.cc')
-rw-r--r--views/focus/accelerator_handler_touch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/focus/accelerator_handler_touch.cc b/views/focus/accelerator_handler_touch.cc
index 9edf516..3ffbd6a 100644
--- a/views/focus/accelerator_handler_touch.cc
+++ b/views/focus/accelerator_handler_touch.cc
@@ -32,13 +32,13 @@ Widget* FindWidgetForGdkWindow(GdkWindow* gdk_window) {
DLOG(WARNING) << "no GtkWidget found for that GdkWindow";
return NULL;
}
- NativeWidget* widget = NativeWidget::GetNativeWidgetForNativeView(gtk_widget);
+ Widget* widget = Widget::GetWidgetForNativeView(gtk_widget);
if (!widget) {
DLOG(WARNING) << "no NativeWidgetGtk found for that GtkWidget";
return NULL;
}
- return widget->GetWidget();
+ return widget;
}
} // namespace