Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2755673003: Allow parallel creation of windows
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698