| Index: ui/wm/core/window_animations.cc
|
| diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
|
| index 129cfda8b22facd180dd5bd77c0993fe2729b057..9ef09cd13f51ced90517709d11203a2bab2bb59b 100644
|
| --- a/ui/wm/core/window_animations.cc
|
| +++ b/ui/wm/core/window_animations.cc
|
| @@ -95,11 +95,8 @@ class HidingWindowAnimationObserverBase : public aura::WindowObserver {
|
| DCHECK(iter != window_->parent()->children().end());
|
| aura::Window* topmost_transient_child = NULL;
|
| for (++iter; iter != window_->parent()->children().end(); ++iter) {
|
| - if (std::find(transient_children.begin(),
|
| - transient_children.end(),
|
| - *iter) != transient_children.end()) {
|
| + if (ContainsValue(transient_children, *iter))
|
| topmost_transient_child = *iter;
|
| - }
|
| }
|
| if (topmost_transient_child) {
|
| window_->parent()->layer()->StackAbove(
|
|
|