summaryrefslogtreecommitdiffstats
path: root/views/focus
diff options
context:
space:
mode:
Diffstat (limited to 'views/focus')
-rw-r--r--views/focus/focus_manager_gtk.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/focus/focus_manager_gtk.cc b/views/focus/focus_manager_gtk.cc
index 6ba1390..5372bf4 100644
--- a/views/focus/focus_manager_gtk.cc
+++ b/views/focus/focus_manager_gtk.cc
@@ -20,7 +20,7 @@ void FocusManager::FocusNativeView(gfx::NativeView native_view) {
gtk_widget_grab_focus(native_view);
}
- // static
+// static
FocusManager* FocusManager::GetFocusManagerForNativeView(
gfx::NativeView native_view) {
GtkWidget* root = gtk_widget_get_toplevel(native_view);
@@ -29,7 +29,9 @@ FocusManager* FocusManager::GetFocusManagerForNativeView(
WidgetGtk* widget = WidgetGtk::GetViewForNative(root);
if (!widget) {
- NOTREACHED();
+ // TODO(jcampan): http://crbug.com/21378 Reenable this NOTREACHED() when the
+ // options page is only based on views.
+ // NOTREACHED();
return NULL;
}
FocusManager* focus_manager = widget->GetFocusManager();