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

Unified Diff: content/child/child_thread_impl.cc

Issue 1793793002: Remove ShellConnection::WaitForInitialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mus views tests Created 4 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: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index 2e0dc0de76619e8903ebf78c7481250372956be8..9a5f9facd2e158ca0a948e3979d490e1cd9863f0 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -422,7 +422,9 @@ void ChildThreadImpl::Init(const Options& options) {
mojo::edk::CreateChildMessagePipe(pipe_token);
base::ElapsedTimer timer;
- MojoShellConnectionImpl::Get()->BindToMessagePipe(std::move(pipe));
+ MojoShellConnectionImpl::Get()->Connect(
+ mojo::MakeRequest<mojo::shell::mojom::ShellClientFactory>(
+ std::move(pipe)));
UMA_HISTOGRAM_TIMES("Mojo.Shell.ChildConnectionTime", timer.Elapsed());
}

Powered by Google App Engine
This is Rietveld 408576698