Index: ash/wm/drag_window_resizer.cc |
diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc |
index ca332b95f7f4932ce19e8adb3bc3af519051c479..e8f977e6418ba041b27c87755a4298423c8a84e4 100644 |
--- a/ash/wm/drag_window_resizer.cc |
+++ b/ash/wm/drag_window_resizer.cc |
@@ -181,8 +181,7 @@ void DragWindowResizer::UpdateDragWindow(const gfx::Rect& bounds, |
new DragWindowController(GetTarget())); |
// Always show the drag phantom on the |another_root| window. |
drag_window_controller_->SetDestinationDisplay( |
- Shell::GetScreen()->GetDisplayMatching( |
- another_root->GetBoundsInScreen())); |
+ Shell::GetScreen()->GetDisplayNearestWindow(another_root)); |
drag_window_controller_->Show(); |
} else { |
// No animation. |