| Index: ash/common/wm/panels/panel_layout_manager.cc
|
| diff --git a/ash/common/wm/panels/panel_layout_manager.cc b/ash/common/wm/panels/panel_layout_manager.cc
|
| index 66ddd3cee80cc76ce0dcf02dc5af21f1b07b47f7..ee815ff11f1d8e774f4087dcae32c685efc84fa8 100644
|
| --- a/ash/common/wm/panels/panel_layout_manager.cc
|
| +++ b/ash/common/wm/panels/panel_layout_manager.cc
|
| @@ -351,7 +351,9 @@ void PanelLayoutManager::OnWindowAddedToLayout(WmWindow* child) {
|
| WmWindow* old_parent = child->GetParent();
|
| child->SetParentUsingContext(child,
|
| child->GetRootWindow()->GetBoundsInScreen());
|
| - wm::ReparentTransientChildrenOfChild(child, old_parent, child->GetParent());
|
| + wm::ReparentTransientChildrenOfChild(child->aura_window(),
|
| + old_parent->aura_window(),
|
| + child->GetParent()->aura_window());
|
| DCHECK(child->GetParent()->GetShellWindowId() !=
|
| kShellWindowId_PanelContainer);
|
| return;
|
|
|