| Index: ui/views/controls/menu/menu_controller.cc
|
| diff --git a/ui/views/controls/menu/menu_controller.cc b/ui/views/controls/menu/menu_controller.cc
|
| index d16553b880d9fa4d0f36645ab2febab82ef4366f..0b8b779e9d95026da590e1d67139e46e535c4c4a 100644
|
| --- a/ui/views/controls/menu/menu_controller.cc
|
| +++ b/ui/views/controls/menu/menu_controller.cc
|
| @@ -41,7 +41,7 @@
|
| #if defined(OS_WIN)
|
| #include "ui/aura/window_tree_host.h"
|
| #include "ui/base/win/internal_constants.h"
|
| -#include "ui/gfx/win/dpi.h"
|
| +#include "ui/gfx/screen_win.h"
|
| #include "ui/views/win/hwnd_util.h"
|
| #endif
|
|
|
| @@ -2218,7 +2218,7 @@ void MenuController::RepostEvent(SubmenuView* source,
|
| gfx::NativeWindow window = screen->GetWindowAtScreenPoint(screen_loc);
|
|
|
| #if defined(OS_WIN)
|
| - gfx::Point screen_loc_pixels = gfx::win::DIPToScreenPoint(screen_loc);
|
| + gfx::Point screen_loc_pixels = gfx::ScreenWin::DIPToScreenPoint(screen_loc);
|
| HWND target_window = ::WindowFromPoint(screen_loc_pixels.ToPOINT());
|
| // If we don't find a native window for the HWND at the current location,
|
| // then attempt to find a native window from its parent if one exists.
|
|
|