Index: ash/wm/session_state_animator.cc |
diff --git a/ash/wm/session_state_animator.cc b/ash/wm/session_state_animator.cc |
index b082c986f6e0d847dfd8fc39c5718999b06bb683..51bfc53d40cc6585f68bfa22f30d3133b6791f9d 100644 |
--- a/ash/wm/session_state_animator.cc |
+++ b/ash/wm/session_state_animator.cc |
@@ -161,6 +161,7 @@ void HideWindow(aura::Window* window, |
details.animate_scale = true; |
details.animate_opacity = true; |
details.duration = duration; |
+ details.can_be_cancelled = true; |
HideWorkspace(window, details); |
// A bit of a dirty trick: we need to catch the end of the animation we don't |
// control. So we use two facts we know: which animator will be used and the |