| Index: chrome/browser/ui/views/tabs/tab_drag_controller2_interactive_uitest.cc
|
| diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller2_interactive_uitest.cc b/chrome/browser/ui/views/tabs/tab_drag_controller2_interactive_uitest.cc
|
| index 1daa5a6a71406362569a1058c1886478d90dd56e..3e0390a772796a854d82ce9ec268f48b9127d7af 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_drag_controller2_interactive_uitest.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab_drag_controller2_interactive_uitest.cc
|
| @@ -130,8 +130,8 @@ class TabDragController2Test : public InProcessBrowserTest {
|
| ResetIDs(browser2->tabstrip_model(), 100);
|
|
|
| // Resize the two windows so they're right next to each other.
|
| - gfx::Rect work_area = gfx::Screen::GetMonitorWorkAreaNearestWindow(
|
| - browser()->window()->GetNativeHandle());
|
| + gfx::Rect work_area = gfx::Screen::GetMonitorNearestWindow(
|
| + browser()->window()->GetNativeHandle()).work_area();
|
| gfx::Size half_size =
|
| gfx::Size(work_area.width() / 3 - 10, work_area.height() / 2 - 10);
|
| browser()->window()->SetBounds(gfx::Rect(work_area.origin(), half_size));
|
|
|