| Index: ash/root_window_controller.cc
|
| diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
|
| index e469bf0d2a82001f1f6d1a08913661aad13added..b47c55bd22ee9b33f335c38213f920e2f2966c31 100644
|
| --- a/ash/root_window_controller.cc
|
| +++ b/ash/root_window_controller.cc
|
| @@ -175,7 +175,7 @@ void ReparentWindow(aura::Window* window, aura::Window* new_parent) {
|
|
|
| gfx::Rect local_bounds;
|
| if (update_bounds) {
|
| - local_bounds = state->window()->GetBounds();
|
| + local_bounds = state->window()->bounds();
|
| MoveOriginRelativeToSize(src_size, dst_size, &local_bounds);
|
| local_bounds.AdjustToFit(work_area_in_new_parent);
|
| }
|
|
|