| Index: ui/wm/core/window_animations.cc
|
| diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
|
| index 80950c67ca836e517f99d0c4cf5ce31f3fd93cd6..0006000ad465ccc897d2c57a9840c776f67ee1f1 100644
|
| --- a/ui/wm/core/window_animations.cc
|
| +++ b/ui/wm/core/window_animations.cc
|
| @@ -104,6 +104,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:
|
|
|