| Index: ui/aura/mus/window_tree_client.cc
|
| diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
|
| index f6c28e6be901ab23bc1274c27272c6ab68f2b39c..a40ec47ea2ad742a3841d352bfa53a10a5a4497e 100644
|
| --- a/ui/aura/mus/window_tree_client.cc
|
| +++ b/ui/aura/mus/window_tree_client.cc
|
| @@ -884,7 +884,7 @@ void WindowTreeClient::OnEmbed(ClientSpecificId client_id,
|
| // In external window mode, this needs not to pass the ownership of the
|
| // WindowTreeHostMus instance to the delegate_. A raw pointer should
|
| // surface.
|
| - delegate_->OnEmbed(nullptr);
|
| + delegate_->OnRootWindowEmbed(window_tree_host);
|
| return;
|
| }
|
|
|
|
|