Index: chrome/browser/ui/views/tabs/dock_info_win.cc |
diff --git a/chrome/browser/ui/views/tabs/dock_info_win.cc b/chrome/browser/ui/views/tabs/dock_info_win.cc |
index 4ba11b9471bd91628c2c86b540f8b9264bf51030..87ce0605b8d362e5c852ca47f8fa332728ce76c1 100644 |
--- a/chrome/browser/ui/views/tabs/dock_info_win.cc |
+++ b/chrome/browser/ui/views/tabs/dock_info_win.cc |
@@ -242,8 +242,8 @@ class DockToWindowFinder : public BaseWindowFinder { |
const std::set<HWND>& ignore) |
: BaseWindowFinder(ignore), |
screen_loc_(screen_loc) { |
- gfx::Rect work_area = gfx::Screen::GetDisplayNearestPoint( |
- screen_loc).bounds(); |
+ gfx::Rect work_area = gfx::Screen::GetNativeScreen()-> |
+ GetDisplayNearestPoint(screen_loc).bounds(); |
if (!work_area.IsEmpty()) { |
result_.set_monitor_bounds(work_area); |
EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, as_lparam()); |