Index: chrome/browser/ui/views/tabs/window_finder_win.cc |
diff --git a/chrome/browser/ui/views/tabs/window_finder_win.cc b/chrome/browser/ui/views/tabs/window_finder_win.cc |
index c32dba6c0b99de1ad7197edce1dee7db4598ccb0..5c4a821c18a1d709c5ea8ea73258b20a40d571b5 100644 |
--- a/chrome/browser/ui/views/tabs/window_finder_win.cc |
+++ b/chrome/browser/ui/views/tabs/window_finder_win.cc |
@@ -11,7 +11,7 @@ |
#include "base/win/windows_version.h" |
#include "ui/aura/window.h" |
#include "ui/gfx/screen.h" |
-#include "ui/gfx/win/dpi.h" |
+#include "ui/gfx/screen_win.h" |
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" |
#include "ui/views/win/hwnd_util.h" |
@@ -132,7 +132,7 @@ class TopMostFinder : public BaseWindowFinder { |
target_(window), |
is_top_most_(false), |
tmp_region_(CreateRectRgn(0, 0, 0, 0)) { |
- screen_loc_ = gfx::win::DIPToScreenPoint(screen_loc); |
+ screen_loc_ = gfx::ScreenWin::DIPToScreenPoint(screen_loc); |
EnumWindows(WindowCallbackProc, as_lparam()); |
} |
@@ -209,7 +209,7 @@ class LocalProcessWindowFinder : public BaseWindowFinder { |
CHECK(SUCCEEDED(virtual_desktop_manager_.CreateInstance( |
__uuidof(VirtualDesktopManager)))); |
} |
- screen_loc_ = gfx::win::DIPToScreenPoint(screen_loc); |
+ screen_loc_ = gfx::ScreenWin::DIPToScreenPoint(screen_loc); |
EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, as_lparam()); |
} |