Index: ipc/ipc_test_base.cc |
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc |
index ca45d16de30df7207c328cfe5fe61e64f7476898..3d4ca88ffd36a1bf836bf8edb2142eedabdabd57 100644 |
--- a/ipc/ipc_test_base.cc |
+++ b/ipc/ipc_test_base.cc |
@@ -77,10 +77,10 @@ void IPCTestBase::CreateChannelProxy( |
base::SingleThreadTaskRunner* ipc_task_runner) { |
CHECK(!channel_.get()); |
CHECK(!channel_proxy_.get()); |
- channel_proxy_.reset(new IPC::ChannelProxy(GetChannelName(test_client_name_), |
- IPC::Channel::MODE_SERVER, |
- listener, |
- ipc_task_runner)); |
+ channel_proxy_ = IPC::ChannelProxy::CreateServer( |
+ GetChannelName(test_client_name_), |
+ listener, |
+ ipc_task_runner); |
} |
void IPCTestBase::DestroyChannelProxy() { |