win: Fix building
This commit is contained in:
parent
b717add81b
commit
643d1dcdd1
1 changed files with 2 additions and 3 deletions
|
@ -60,14 +60,13 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos,
|
|||
if (!SetForegroundWindow(window_))
|
||||
return;
|
||||
|
||||
views::MenuRunner menu_runner(menu_model_);
|
||||
views::MenuRunner menu_runner(menu_model_, views::MenuRunner::CONTEXT_MENU);
|
||||
ignore_result(menu_runner.RunMenuAt(
|
||||
NULL,
|
||||
NULL,
|
||||
gfx::Rect(cursor_pos, gfx::Size()),
|
||||
views::MENU_ANCHOR_TOPLEFT,
|
||||
ui::MENU_SOURCE_MOUSE,
|
||||
views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU));
|
||||
ui::MENU_SOURCE_MOUSE));
|
||||
}
|
||||
|
||||
void NotifyIcon::ResetIcon() {
|
||||
|
|
Loading…
Reference in a new issue