Index: ash/wm/workspace/workspace_layout_manager.cc |
diff --git a/ash/wm/workspace/workspace_layout_manager.cc b/ash/wm/workspace/workspace_layout_manager.cc |
index 3a313b2b591fa37276c2dcecd3a5d18c46657abe..fecc6a92775a004f1fc891118d351442b6cb57d9 100644 |
--- a/ash/wm/workspace/workspace_layout_manager.cc |
+++ b/ash/wm/workspace/workspace_layout_manager.cc |
@@ -349,7 +349,7 @@ void WorkspaceLayoutManager::UpdateBoundsFromShowState( |
MoveToDisplayForRestore(window_state); |
gfx::Rect new_bounds = ScreenAsh::GetDisplayBoundsInParent( |
window->parent()->parent()); |
- if (window->GetProperty(kAnimateToFullscreenKey) && |
+ if (window_state->animate_to_fullscreen() && |
last_show_state != ui::SHOW_STATE_MINIMIZED) { |
CrossFadeToBounds(window, new_bounds); |
} else { |