Index: components/mus/ws/window_tree_host_connection.cc |
diff --git a/components/mus/ws/window_tree_host_connection.cc b/components/mus/ws/window_tree_host_connection.cc |
index f488fc4f2901ed93b198c6f2c844937d6db0967a..6f78af3d01da0f09fb3fb10c4a04b70330cf9977 100644 |
--- a/components/mus/ws/window_tree_host_connection.cc |
+++ b/components/mus/ws/window_tree_host_connection.cc |
@@ -62,7 +62,7 @@ WindowTreeHostConnectionImpl::~WindowTreeHostConnectionImpl() {} |
void WindowTreeHostConnectionImpl::OnDisplayInitialized() { |
connection_manager()->AddHost(this); |
set_window_tree(connection_manager()->EmbedAtWindow( |
- kInvalidConnectionId, window_tree_host()->root_window()->id(), |
+ window_tree_host()->root_window()->id(), |
mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT, std::move(client_))); |
} |