Index: chrome/browser/ui/window_sizer/window_sizer_ash.cc |
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash.cc b/chrome/browser/ui/window_sizer/window_sizer_ash.cc |
index 8e5ef9670e9c411721f18ae8fc0372ea81fbf2ce..3089d69a4961c8a6a4fb7e57119e6be8dff33e80 100644 |
--- a/chrome/browser/ui/window_sizer/window_sizer_ash.cc |
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash.cc |
@@ -84,7 +84,7 @@ bool WindowSizer::GetBoundsIgnoringPreviousStateAsh( |
if (top_window == NULL) { |
GetDefaultWindowBounds(bounds); |
} else { |
- *bounds = top_window->GetRootWindowBounds(); |
+ *bounds = top_window->GetBoundsInRootWindow(); |
gfx::Rect work_area = |
monitor_info_provider_->GetMonitorWorkAreaMatching(*bounds); |
*bounds = bounds->AdjustToFit(work_area); |