Index: components/nacl/loader/nacl_ipc_adapter.cc |
diff --git a/components/nacl/loader/nacl_ipc_adapter.cc b/components/nacl/loader/nacl_ipc_adapter.cc |
index 1398b222325f24fbf38e9ea51bd556848c15d682..395a114d425d3b73894beab82eea98e200d59fbe 100644 |
--- a/components/nacl/loader/nacl_ipc_adapter.cc |
+++ b/components/nacl/loader/nacl_ipc_adapter.cc |
@@ -330,7 +330,7 @@ NaClIPCAdapter::NaClIPCAdapter(const IPC::ChannelHandle& handle, |
task_runner_(runner), |
locked_data_() { |
io_thread_data_.channel_.reset( |
- new IPC::Channel(handle, IPC::Channel::MODE_SERVER, this)); |
+ IPC::Channel::CreateServer(handle, this)); |
// Note, we can not PostTask for ConnectChannelOnIOThread here. If we did, |
// and that task ran before this constructor completes, the reference count |
// would go to 1 and then to 0 because of the Task, before we've been returned |