| Index: ui/wm/core/transient_window_manager.cc
|
| diff --git a/ui/wm/core/transient_window_manager.cc b/ui/wm/core/transient_window_manager.cc
|
| index 3145c341d29bebb4ee43b19ade0e5bdede7ccc7c..dc6070f8c3d63301e78ace540c1c39a915ab3522 100644
|
| --- a/ui/wm/core/transient_window_manager.cc
|
| +++ b/ui/wm/core/transient_window_manager.cc
|
| @@ -8,7 +8,6 @@
|
| #include <functional>
|
|
|
| #include "base/auto_reset.h"
|
| -#include "base/stl_util.h"
|
| #include "ui/aura/client/transient_window_client_observer.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura/window_property.h"
|
| @@ -231,7 +230,8 @@ void TransientWindowManager::OnWindowDestroying(Window* window) {
|
| // parent, as destroying an active transient child may otherwise attempt to
|
| // refocus us.
|
| Windows transient_children(transient_children_);
|
| - base::STLDeleteElements(&transient_children);
|
| + for (auto* child : transient_children)
|
| + delete child;
|
| DCHECK(transient_children_.empty());
|
| }
|
|
|
|
|