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

Unified Diff: components/mus/public/cpp/lib/view_tree_host_factory.cc

Issue 1390353007: Adds MUSViewsInit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows Created 5 years, 2 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: components/mus/public/cpp/lib/view_tree_host_factory.cc
diff --git a/components/mus/public/cpp/lib/view_tree_host_factory.cc b/components/mus/public/cpp/lib/view_tree_host_factory.cc
index 1da65c941b2bf0f3484734db8a16f21f054fa96e..4f649fec6e77f7cffb6c95dd6ba37e551d64453e 100644
--- a/components/mus/public/cpp/lib/view_tree_host_factory.cc
+++ b/components/mus/public/cpp/lib/view_tree_host_factory.cc
@@ -15,7 +15,9 @@ void CreateViewTreeHost(mojo::ViewTreeHostFactory* factory,
ViewTreeDelegate* delegate,
mojo::ViewTreeHostPtr* host) {
mojo::ViewTreeClientPtr tree_client;
- ViewTreeConnection::Create(delegate, GetProxy(&tree_client));
+ ViewTreeConnection::Create(
+ delegate, GetProxy(&tree_client),
+ ViewTreeConnection::CreateType::DONT_WAIT_FOR_EMBED);
factory->CreateViewTreeHost(GetProxy(host), host_client.Pass(),
tree_client.Pass());
}
« no previous file with comments | « components/mus/public/cpp/lib/view_tree_client_impl.cc ('k') | components/mus/public/cpp/tests/view_manager_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698