Index: ash/shell/window_type_launcher.cc |
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc |
index 564d0d118e60ef2b35cde597d8b4da0dfe8b8834..ab73191f85b8de910085f4fa0d92e32012d9d05b 100644 |
--- a/ash/shell/window_type_launcher.cc |
+++ b/ash/shell/window_type_launcher.cc |
@@ -328,14 +328,10 @@ void WindowTypeLauncher::ShowContextMenuForView( |
base::ASCIIToUTF16("Toggle FullScreen"), |
MenuItemView::NORMAL); |
// MenuRunner takes ownership of root. |
- menu_runner_.reset(new MenuRunner(root, MenuRunner::HAS_MNEMONICS | |
- views::MenuRunner::CONTEXT_MENU | |
- views::MenuRunner::ASYNC)); |
- if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(point, gfx::Size()), |
- views::MENU_ANCHOR_TOPLEFT, |
- source_type) == MenuRunner::MENU_DELETED) { |
- return; |
- } |
+ menu_runner_.reset(new MenuRunner( |
+ root, MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU)); |
+ menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(point, gfx::Size()), |
+ views::MENU_ANCHOR_TOPLEFT, source_type); |
} |
} // namespace shell |