summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_test_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_test_base.cc')
-rw-r--r--ipc/ipc_test_base.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
index 3d4ca88..ca45d16 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_ = IPC::ChannelProxy::CreateServer(
- GetChannelName(test_client_name_),
- listener,
- ipc_task_runner);
+ channel_proxy_.reset(new IPC::ChannelProxy(GetChannelName(test_client_name_),
+ IPC::Channel::MODE_SERVER,
+ listener,
+ ipc_task_runner));
}
void IPCTestBase::DestroyChannelProxy() {