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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1712143002: [mojo-edk] Add support for transferring mach ports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More stuff. 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
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder.h » ('j') | mojo/edk/embedder/embedder.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index e438033ed958ec373b3db13e029dbcb13cceaa3f..7459fbc8e1486fde09a0a9ae33374bbedabecd1d 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -623,6 +623,9 @@ RenderProcessHostImpl::RenderProcessHostImpl(
IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded();
#endif // defined(OS_MACOSX) && !defined(OS_IOS)
#endif // USE_ATTACHMENT_BROKER
+#if defined(OS_MACOSX) && !defined(OS_IOS)
+ mojo::edk::SetMachPortProviderIfNeeded(MachBroker::GetInstance());
Ken Rockot(use gerrit already) 2016/03/09 08:34:31 I'm confused about why this (and really the Attach
erikchen 2016/03/09 19:13:16 That would be cleaner. Right now, we actually cal
Anand Mistry (off Chromium) 2016/03/11 07:44:17 I agree, but think it's outside the scope of this
+#endif // defined(OS_MACOSX) && !defined(OS_IOS)
}
// static
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder.h » ('j') | mojo/edk/embedder/embedder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698