Index: ipc/ipc_test_base.cc |
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc |
index b609e8cb2c23fecd6c9b338834b8fafbfb54f8b8..ca45d16de30df7207c328cfe5fe61e64f7476898 100644 |
--- a/ipc/ipc_test_base.cc |
+++ b/ipc/ipc_test_base.cc |
@@ -69,9 +69,7 @@ void IPCTestBase::CreateChannelFromChannelHandle( |
IPC::Listener* listener) { |
CHECK(!channel_.get()); |
CHECK(!channel_proxy_.get()); |
- channel_.reset(new IPC::Channel(channel_handle, |
- IPC::Channel::MODE_SERVER, |
- listener)); |
+ channel_ = IPC::Channel::CreateServer(channel_handle, listener); |
} |
void IPCTestBase::CreateChannelProxy( |