summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/gtk/menu_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gtk/menu_gtk.cc b/chrome/browser/gtk/menu_gtk.cc
index 41c3c77..6c24fd8 100644
--- a/chrome/browser/gtk/menu_gtk.cc
+++ b/chrome/browser/gtk/menu_gtk.cc
@@ -423,7 +423,8 @@ void MenuGtk::SetMenuItemInfo(GtkWidget* widget, gpointer userdata) {
menus::MenuModel* model = ModelForMenuItem(GTK_MENU_ITEM(widget));
if (!model) {
- NOTREACHED();
+ // If we're not providing the sub menu, then there's no model. For
+ // example, the IME submenu doesn't have a model.
return;
}