Index: ash/wm/workspace/multi_window_resize_controller.cc |
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc |
index 067275b59bc64efafb619d5e2f0a62bdd8f5a927..d0099b45777e5e0354989a4f49703443af4b0139 100644 |
--- a/ash/wm/workspace/multi_window_resize_controller.cc |
+++ b/ash/wm/workspace/multi_window_resize_controller.cc |
@@ -236,8 +236,7 @@ void MultiWindowResizeController::OnWindowDestroying( |
MultiWindowResizeController::ResizeWindows |
MultiWindowResizeController::DetermineWindowsFromScreenPoint( |
aura::Window* window) const { |
- gfx::Point mouse_location( |
- gfx::Screen::GetScreenFor(window)->GetCursorScreenPoint()); |
+ gfx::Point mouse_location(gfx::Screen::GetScreen()->GetCursorScreenPoint()); |
::wm::ConvertPointFromScreen(window, &mouse_location); |
const int component = |
window->delegate()->GetNonClientComponent(mouse_location); |