| Index: ui/wm/core/window_animations.cc
|
| diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
|
| index 6e83c2f8a792a494ca630badadd3181d442dca11..42439e37ea132e5a2165960cc137aad30752aacc 100644
|
| --- a/ui/wm/core/window_animations.cc
|
| +++ b/ui/wm/core/window_animations.cc
|
| @@ -508,12 +508,6 @@ void HidingWindowAnimationObserver::DetachAndRecreateLayers() {
|
| layer_owner_->root(), topmost_transient_child->layer());
|
| }
|
| }
|
| -
|
| - // TODO(sky): The recreated layer should have the target visibility of
|
| - // the original layer.
|
| - // Make the new layer invisible immediately.
|
| - window_->layer()->SetVisible(false);
|
| - window_->layer()->SetOpacity(0);
|
| }
|
|
|
| void HidingWindowAnimationObserver::WindowInvalid() {
|
|
|