| Index: ash/wm/window_animations.cc
|
| diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc
|
| index ffbe00789a66fbcbac40c1c0f6aacbaf2c307ad5..13abd4a8c2307b640cd2e3c58b1a17da6cd1046c 100644
|
| --- a/ash/wm/window_animations.cc
|
| +++ b/ash/wm/window_animations.cc
|
| @@ -513,11 +513,10 @@ void SetTransformForScaleAnimation(ui::Layer* layer,
|
|
|
| gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) {
|
| Launcher* launcher = Launcher::ForWindow(window);
|
| - // Launcher is created lazily and can be NULL.
|
| + // Shelf is created lazily and can be NULL.
|
| if (!launcher)
|
| return gfx::Rect();
|
| - gfx::Rect item_rect = launcher->
|
| - GetScreenBoundsOfItemIconForWindow(window);
|
| + gfx::Rect item_rect = launcher->GetScreenBoundsOfItemIconForWindow(window);
|
|
|
| // The launcher item is visible and has an icon.
|
| if (!item_rect.IsEmpty())
|
|
|