Index: ash/wm/window_animations.cc |
=================================================================== |
--- ash/wm/window_animations.cc (revision 120096) |
+++ ash/wm/window_animations.cc (working copy) |
@@ -171,8 +171,7 @@ |
// Property sets within this scope will be implicitly animated. |
ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); |
- settings.AddObserver(new HidingWindowAnimationObserver(window)); |
- |
+ settings.AddImplicitObserver(new HidingWindowAnimationObserver(window)); |
int duration = |
window->GetIntProperty(internal::kWindowVisibilityAnimationDurationKey); |
if (duration > 0) { |