GetNativeScreen -> GetScreen
This commit is contained in:
parent
f418ac5b5d
commit
732936713a
4 changed files with 5 additions and 5 deletions
|
@ -155,7 +155,7 @@ void NotifyIcon::PopUpContextMenu(const gfx::Point& pos,
|
|||
// Show menu at mouse's position by default.
|
||||
gfx::Rect rect(pos, gfx::Size());
|
||||
if (pos.IsOrigin())
|
||||
rect.set_origin(gfx::Screen::GetNativeScreen()->GetCursorScreenPoint());
|
||||
rect.set_origin(gfx::Screen::GetScreen()->GetCursorScreenPoint());
|
||||
|
||||
views::MenuRunner menu_runner(
|
||||
menu_model,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue