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