Index: chrome/browser/ui/views/toolbar/toolbar_button.cc |
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc |
index 50ee412ecedbe8c557d41d99794b433bbd4cead8..17b5979754292b9150745b468c40f6cdd1b9d5be 100644 |
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc |
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc |
@@ -214,12 +214,11 @@ void ToolbarButton::ShowDropDownMenu(ui::MenuSourceType source_type) { |
model_.get(), |
base::Bind(&ToolbarButton::OnMenuClosed, base::Unretained(this)))); |
menu_model_adapter_->set_triggerable_event_flags(triggerable_event_flags()); |
- menu_runner_.reset(new views::MenuRunner( |
- menu_model_adapter_->CreateMenu(), |
- views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::ASYNC)); |
- ignore_result(menu_runner_->RunMenuAt( |
- GetWidget(), nullptr, gfx::Rect(menu_position, gfx::Size(0, 0)), |
- views::MENU_ANCHOR_TOPLEFT, source_type)); |
+ menu_runner_.reset(new views::MenuRunner(menu_model_adapter_->CreateMenu(), |
+ views::MenuRunner::HAS_MNEMONICS)); |
+ menu_runner_->RunMenuAt(GetWidget(), nullptr, |
+ gfx::Rect(menu_position, gfx::Size(0, 0)), |
+ views::MENU_ANCHOR_TOPLEFT, source_type); |
} |
void ToolbarButton::OnMenuClosed() { |