Index: ash/wm/window_animations.cc |
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc |
index 95d75013c6c36aa8fe6210149a57a305d0424b43..323eb9dd4386a807bfe8f7a89040b135010c7ae9 100644 |
--- a/ash/wm/window_animations.cc |
+++ b/ash/wm/window_animations.cc |
@@ -433,7 +433,7 @@ CreateBrightnessGrayscaleAnimationSequence(float target_value, |
gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) { |
WmWindow* wm_window = WmWindow::Get(window); |
- WmShelf* shelf = WmShelf::ForWindow(wm_window); |
+ WmShelf* shelf = WmShelf::ForWindow(window); |
gfx::Rect item_rect = shelf->GetScreenBoundsOfItemIconForWindow(wm_window); |
// The launcher item is visible and has an icon. |