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 cfe77ff608eb4a4f25c52a8cbdd8f263228161ec..513ea1904bb425627486bdb51eb91ba027be971f 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 { |