| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index 2ef70c6b0595dd3170608dff6a96aa71d6757b30..98808ddc2b84aa2946e30ec3835c7c1239ba08a1 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -1007,10 +1007,6 @@ Window* Window::GetWindowForPoint(const gfx::Point& local_point,
|
| }
|
|
|
| void Window::RemoveChildImpl(Window* child, Window* new_parent) {
|
| - // Stop (and complete) an ongoing animation to make sure bounds are updated
|
| - // before updating the layers bounds again.
|
| - if (child->layer() && child->layer()->GetAnimator())
|
| - child->layer()->GetAnimator()->StopAnimating();
|
| if (layout_manager_)
|
| layout_manager_->OnWillRemoveWindowFromLayout(child);
|
| FOR_EACH_OBSERVER(WindowObserver, observers_, OnWillRemoveWindow(child));
|
|
|