| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index cd8de940517233f8826e773976f599cf938d1cf3..8a2836dc2afd49b4420da82ffa798bd6930d77f4 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -1130,7 +1130,8 @@ void ShellSurface::CreateShellSurfaceWidget(ui::WindowShowState show_state) {
|
| params.show_state = show_state;
|
| // Make shell surface a transient child if |parent_| has been set.
|
| params.parent =
|
| - parent_ ? parent_ : WMHelper::GetInstance()->GetContainer(container_);
|
| + parent_ ? parent_
|
| + : WMHelper::GetInstance()->GetPrimaryDisplayContainer(container_);
|
| params.bounds = gfx::Rect(origin_, gfx::Size());
|
| bool activatable = activatable_;
|
| // ShellSurfaces in system modal container are only activatable if input
|
|
|