Index: chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
index 69e3a2f7ee31509f70196d06fcfca21f74eff5f4..4e7a4cfcd92442106b7db86cfb6f8c686e6c696e 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
@@ -137,7 +137,7 @@ Browser* TabDragControllerTest::CreateAnotherWindowBrowserAndRelayout() { |
ResetIDs(browser2->tab_strip_model(), 100); |
// Resize the two windows so they're right next to each other. |
- gfx::Rect work_area = gfx::Screen::GetMonitorNearestWindow( |
+ gfx::Rect work_area = gfx::Screen::GetDisplayNearestWindow( |
browser()->window()->GetNativeWindow()).work_area(); |
gfx::Size half_size = |
gfx::Size(work_area.width() / 3 - 10, work_area.height() / 2 - 10); |