Index: chrome/browser/ui/views/menu_test_base.cc |
diff --git a/chrome/browser/ui/views/menu_test_base.cc b/chrome/browser/ui/views/menu_test_base.cc |
index f7b5aa919284588941e6f4bcb7138b9c2ae9eae6..b44d2f8772fc59be85b640045cfa666ba1605478 100644 |
--- a/chrome/browser/ui/views/menu_test_base.cc |
+++ b/chrome/browser/ui/views/menu_test_base.cc |
@@ -38,7 +38,7 @@ void MenuTestBase::KeyPress(ui::KeyboardCode keycode, |
} |
int MenuTestBase::GetMenuRunnerFlags() { |
- return views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::ASYNC; |
+ return views::MenuRunner::HAS_MNEMONICS; |
} |
void MenuTestBase::SetUp() { |
@@ -79,11 +79,8 @@ void MenuTestBase::OnMenuButtonClicked(views::MenuButton* source, |
gfx::Point screen_location; |
views::View::ConvertPointToScreen(source, &screen_location); |
gfx::Rect bounds(screen_location, source->size()); |
- ignore_result(menu_runner_->RunMenuAt(source->GetWidget(), |
- button_, |
- bounds, |
- views::MENU_ANCHOR_TOPLEFT, |
- ui::MENU_SOURCE_NONE)); |
+ menu_runner_->RunMenuAt(source->GetWidget(), button_, bounds, |
+ views::MENU_ANCHOR_TOPLEFT, ui::MENU_SOURCE_NONE); |
} |
void MenuTestBase::ExecuteCommand(int id) { |