| Index: ash/wm/window_util.cc
|
| diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
|
| index def4b6d5bad254d0464152f51db0a6e0c6d31d3f..2985f663b64222c10926d654dd3a252a589ebb74 100644
|
| --- a/ash/wm/window_util.cc
|
| +++ b/ash/wm/window_util.cc
|
| @@ -134,10 +134,13 @@ void ReparentChildWithTransientChildren(aura::Window* child,
|
| void ReparentTransientChildrenOfChild(aura::Window* child,
|
| aura::Window* old_parent,
|
| aura::Window* new_parent) {
|
| - for (size_t i = 0; i < child->transient_children().size(); ++i) {
|
| - ReparentChildWithTransientChildren(child->transient_children()[i],
|
| - old_parent,
|
| - new_parent);
|
| + for (size_t i = 0;
|
| + i < views::corewm::GetTransientChildren(child).size();
|
| + ++i) {
|
| + ReparentChildWithTransientChildren(
|
| + views::corewm::GetTransientChildren(child)[i],
|
| + old_parent,
|
| + new_parent);
|
| }
|
| }
|
|
|
|
|