Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Unified Diff: chrome/browser/ui/views/status_icons/status_icon_win.cc

Issue 2790773002: Cleanup MenuRunner API (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/status_icons/status_icon_win.cc
diff --git a/chrome/browser/ui/views/status_icons/status_icon_win.cc b/chrome/browser/ui/views/status_icons/status_icon_win.cc
index e153be212c5e634c5c740193ddd900278fdee447..7b98969bef7ce40227b43564eccec79e425de6a3 100644
--- a/chrome/browser/ui/views/status_icons/status_icon_win.cc
+++ b/chrome/browser/ui/views/status_icons/status_icon_win.cc
@@ -64,11 +64,8 @@ void StatusIconWin::HandleClickEvent(const gfx::Point& cursor_pos,
menu_runner_.reset(new views::MenuRunner(menu_model_,
views::MenuRunner::HAS_MNEMONICS));
- ignore_result(menu_runner_->RunMenuAt(NULL,
- NULL,
- gfx::Rect(cursor_pos, gfx::Size()),
- views::MENU_ANCHOR_TOPLEFT,
- ui::MENU_SOURCE_MOUSE));
+ menu_runner_->RunMenuAt(NULL, NULL, gfx::Rect(cursor_pos, gfx::Size()),
+ views::MENU_ANCHOR_TOPLEFT, ui::MENU_SOURCE_MOUSE);
}
void StatusIconWin::HandleBalloonClickEvent() {

Powered by Google App Engine
This is Rietveld 408576698