| Index: ash/wm/window_animations.cc
|
| diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc
|
| index 98574487a1115c70be204c042f4222d6a3f83363..eb6c5532ad8e4acc913032d61ec48af1366ef091 100644
|
| --- a/ash/wm/window_animations.cc
|
| +++ b/ash/wm/window_animations.cc
|
| @@ -466,8 +466,7 @@ gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) {
|
| // width will be 0 but the position in the launcher and the major dimension
|
| // are still reported correctly and the window can be animated to the launcher
|
| // item's light bar.
|
| - ShelfLayoutManager* layout_manager =
|
| - shelf->shelf_widget()->shelf_layout_manager();
|
| + ShelfLayoutManager* layout_manager = shelf->shelf_layout_manager();
|
| if (item_rect.width() != 0 || item_rect.height() != 0) {
|
| if (layout_manager->visibility_state() == SHELF_AUTO_HIDE) {
|
| gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen();
|
|
|