Index: ui/views/controls/menu/menu_host.cc |
diff --git a/ui/views/controls/menu/menu_host.cc b/ui/views/controls/menu/menu_host.cc |
index 44d2f62543d5557d7c9a79634de62f9eb8039b67..4a887e56c0df83b9ff70abde1cc91f1eb9ea1340 100644 |
--- a/ui/views/controls/menu/menu_host.cc |
+++ b/ui/views/controls/menu/menu_host.cc |
@@ -109,6 +109,9 @@ void MenuHost::OnNativeWidgetDestroyed() { |
} |
void MenuHost::OnOwnerClosing() { |
+ if (destroying_) |
+ return; |
+ |
MenuController* menu_controller = |
submenu_->GetMenuItem()->GetMenuController(); |
if (menu_controller && !menu_controller->drag_in_progress()) |