GetNativeScreen -> GetScreen

This commit is contained in:
Brian R. Bondy 2016-04-27 13:42:10 -04:00 committed by Cheng Zhao
parent f418ac5b5d
commit 732936713a
4 changed files with 5 additions and 5 deletions

View file

@ -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,