| Index: athena/wm/window_overview_mode.cc
|
| diff --git a/athena/wm/window_overview_mode.cc b/athena/wm/window_overview_mode.cc
|
| index 8677e42a9c15396d69353a794618ec6754c85e56..b34229309a2c5326c51df2b892a8cd3cdf656cbe 100644
|
| --- a/athena/wm/window_overview_mode.cc
|
| +++ b/athena/wm/window_overview_mode.cc
|
| @@ -198,13 +198,9 @@ class WindowOverviewModeImpl : public WindowOverviewMode,
|
| window->layer()->GetAnimator();
|
|
|
| // Unset any in-progress animation.
|
| - {
|
| - ui::ScopedLayerAnimationSettings settings(animator);
|
| - settings.SetPreemptionStrategy(
|
| - ui::LayerAnimator::IMMEDIATELY_SET_NEW_TARGET);
|
| - window->Show();
|
| - window->SetTransform(gfx::Transform());
|
| - }
|
| + animator->AbortAllAnimations();
|
| + window->Show();
|
| + window->SetTransform(gfx::Transform());
|
| // Setup the animation.
|
| {
|
| ui::ScopedLayerAnimationSettings settings(animator);
|
|
|