Index: ipc/ipc_test_base.cc |
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc |
index ca45d16de30df7207c328cfe5fe61e64f7476898..4e7133b37d142c8fe4fc151a88b30384373e8ba2 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_), |
+ channel_proxy_ = IPC::ChannelProxy::Create(GetChannelName(test_client_name_), |
IPC::Channel::MODE_SERVER, |
listener, |
- ipc_task_runner)); |
+ ipc_task_runner); |
} |
void IPCTestBase::DestroyChannelProxy() { |