Index: chrome/service/service_ipc_server.cc |
diff --git a/chrome/service/service_ipc_server.cc b/chrome/service/service_ipc_server.cc |
index 9935f3427009ee60b1a1d9f710e0fc8125c8f04b..c1f7e212c1c8c28a7f2bef1c16d20449cadf37fa 100644 |
--- a/chrome/service/service_ipc_server.cc |
+++ b/chrome/service/service_ipc_server.cc |
@@ -25,9 +25,12 @@ bool ServiceIPCServer::Init() { |
void ServiceIPCServer::CreateChannel() { |
channel_.reset(NULL); // Tear down the existing channel, if any. |
- channel_.reset(new IPC::SyncChannel(channel_handle_, |
- IPC::Channel::MODE_NAMED_SERVER, this, |
- g_service_process->io_thread()->message_loop_proxy(), true, |
+ channel_.reset(new IPC::SyncChannel( |
+ channel_handle_, |
+ IPC::Channel::MODE_NAMED_SERVER, |
+ this, |
+ g_service_process->io_thread()->message_loop_proxy().get(), |
+ true, |
g_service_process->shutdown_event())); |
DCHECK(sync_message_filter_.get()); |
channel_->AddFilter(sync_message_filter_.get()); |