Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
index dc91d4de1807b45423226202c80b23152287b4c3..5b2763e1da1f8eb44c31a7448679b410a50bb7e0 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
@@ -632,7 +632,7 @@ gfx::Point TabDragController::GetWindowCreatePoint( |
// If the cursor is outside the monitor area, move it inside. For example, |
// dropping a tab onto the task bar on Windows produces this situation. |
- gfx::Rect work_area = gfx::Screen::GetMonitorNearestPoint(origin).work_area(); |
+ gfx::Rect work_area = gfx::Screen::GetDisplayNearestPoint(origin).work_area(); |
gfx::Point create_point(origin); |
if (!work_area.IsEmpty()) { |
if (create_point.x() < work_area.x()) |