Index: chrome/browser/service_process/service_process_control.cc |
diff --git a/chrome/browser/service_process/service_process_control.cc b/chrome/browser/service_process/service_process_control.cc |
index be0455ee69eb92e5ad63ef972e463b3081372ab3..de292ea23845021b34eb236ec9b2dd183d53cd7f 100644 |
--- a/chrome/browser/service_process/service_process_control.cc |
+++ b/chrome/browser/service_process/service_process_control.cc |
@@ -25,6 +25,7 @@ |
#include "chrome/common/service_process_util.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_service.h" |
+#include "content/public/common/child_process_host.h" |
using content::BrowserThread; |
@@ -49,10 +50,9 @@ void ServiceProcessControl::ConnectInternal() { |
// TODO(hclam): Handle error connecting to channel. |
const IPC::ChannelHandle channel_id = GetServiceProcessChannel(); |
SetChannel(IPC::ChannelProxy::Create( |
- channel_id, |
- IPC::Channel::MODE_NAMED_CLIENT, |
- this, |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get())); |
+ channel_id, IPC::Channel::MODE_NAMED_CLIENT, this, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get(), |
+ content::ChildProcessHost::GetAttachmentBroker())); |
} |
void ServiceProcessControl::SetChannel(scoped_ptr<IPC::ChannelProxy> channel) { |