| Index: ui/wm/core/window_animations.cc
|
| diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
|
| index 07476c36b0456c73c283fabbf27a1e48dc7852b9..2d0ecea6488c42b0f56c0654f6b8ed6f6eea9b86 100644
|
| --- a/ui/wm/core/window_animations.cc
|
| +++ b/ui/wm/core/window_animations.cc
|
| @@ -103,6 +103,11 @@ class HidingWindowAnimationObserverBase : public aura::WindowObserver {
|
| layer_owner_->root(), topmost_transient_child->layer());
|
| }
|
| }
|
| + // Reset the transform for the |window_|. Because the animation may have
|
| + // changed the transform, when recreating the layers we need to reset the
|
| + // transform otherwise the recreated layer has the transform installed
|
| + // for the animation.
|
| + window_->layer()->SetTransform(gfx::Transform());
|
| }
|
|
|
| protected:
|
|
|