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 2596c1888f35fef411b22f461b05a9ef1c421ef9..07116823afd3a23438bd8f8846c7b158f7d67930 100644 |
--- a/chrome/browser/ui/views/tabs/window_finder_win.cc |
+++ b/chrome/browser/ui/views/tabs/window_finder_win.cc |
@@ -8,7 +8,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" |
@@ -129,7 +129,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()); |
} |
@@ -229,7 +229,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()); |
} |