Index: views/controls/menu/native_menu_gtk.cc |
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc |
index a0b2b0a4ab4c4fbb09a002682d5883f3ae57ad43..3aa6c3e9ee155806b4209d2788b79af11ad1734e 100644 |
--- a/views/controls/menu/native_menu_gtk.cc |
+++ b/views/controls/menu/native_menu_gtk.cc |
@@ -124,7 +124,7 @@ void NativeMenuGtk::RunMenuAt(const gfx::Point& point, int alignment) { |
G_CALLBACK(OnMenuMoveCurrentThunk), this); |
// Block until menu is no longer shown by running a nested message loop. |
- nested_dispatcher_ = new NestedDispatcherGtk(this, false); |
+ nested_dispatcher_ = new NestedDispatcherGtk(this, true); |
bool deleted = nested_dispatcher_->RunAndSelfDestruct(); |
if (deleted) { |
// The menu was destryed while menu is shown, so return immediately. |