Index: ash/wm/default_window_resizer.cc |
diff --git a/ash/wm/default_window_resizer.cc b/ash/wm/default_window_resizer.cc |
index 16f4db395f62477e8de40783bc9c55ebfd3ead69..a02e367559f1526c77159139760ef73ee44e05b7 100644 |
--- a/ash/wm/default_window_resizer.cc |
+++ b/ash/wm/default_window_resizer.cc |
@@ -47,7 +47,7 @@ void DefaultWindowResizer::Drag(const gfx::Point& location_in_screen, |
int grid_size = event_flags & ui::EF_CONTROL_DOWN ? |
0 : ash::Shell::GetInstance()->GetGridSize(); |
gfx::Rect bounds( |
- CalculateBoundsForDrag(details_, location_in_root, grid_size)); |
+ CalculateBoundsForDrag(details_, location_in_screen, grid_size)); |
if (bounds != details_.window->bounds()) { |
did_move_or_resize_ = true; |
details_.window->SetBounds(bounds); |