Index: ash/wm/window_animations.cc |
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc |
index e635553b753fd274335feb9fe56947642681cda0..9cfc41523b5c687bb82b15cec4aa5a4905df9ed7 100644 |
--- a/ash/wm/window_animations.cc |
+++ b/ash/wm/window_animations.cc |
@@ -470,9 +470,9 @@ gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) { |
if (item_rect.width() != 0 || item_rect.height() != 0) { |
if (shelf->shelf_layout_manager()->visibility_state() == SHELF_AUTO_HIDE) { |
gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); |
- if (shelf->alignment() == wm::SHELF_ALIGNMENT_LEFT) |
+ if (shelf->alignment() == SHELF_ALIGNMENT_LEFT) |
item_rect.set_x(shelf_bounds.right()); |
- else if (shelf->alignment() == wm::SHELF_ALIGNMENT_RIGHT) |
+ else if (shelf->alignment() == SHELF_ALIGNMENT_RIGHT) |
item_rect.set_x(shelf_bounds.x()); |
else |
item_rect.set_y(shelf_bounds.y()); |