Index: content/browser/browser_child_process_host_impl.cc |
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc |
index 4f19fb708f3d61905144f6d54041ab44747379e1..8006a66890dfb0764e8da6dfeec20033b87745f1 100644 |
--- a/content/browser/browser_child_process_host_impl.cc |
+++ b/content/browser/browser_child_process_host_impl.cc |
@@ -165,9 +165,11 @@ BrowserChildProcessHostImpl::BrowserChildProcessHostImpl( |
if (!service_name.empty()) { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
+ service_manager::Identity child_identity( |
+ service_name, service_manager::mojom::kInheritUserID, |
+ base::StringPrintf("%d", data_.id)); |
child_connection_.reset( |
- new ChildConnection(service_name, base::StringPrintf("%d", data_.id), |
- pending_connection_.get(), |
+ new ChildConnection(child_identity, pending_connection_.get(), |
ServiceManagerContext::GetConnectorForIOThread(), |
base::ThreadTaskRunnerHandle::Get())); |
} |