Index: tools/ipc_fuzzer/replay/replay_process.cc |
diff --git a/tools/ipc_fuzzer/replay/replay_process.cc b/tools/ipc_fuzzer/replay/replay_process.cc |
index b141cd0029e25310c2e728a01a32cac16e9a078a..1db6f188ed20d4effa71f4a8f87907289c5cfff3 100644 |
--- a/tools/ipc_fuzzer/replay/replay_process.cc |
+++ b/tools/ipc_fuzzer/replay/replay_process.cc |
@@ -55,11 +55,8 @@ void ReplayProcess::OpenChannel() { |
CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kProcessChannelID); |
- channel_.reset( |
- new IPC::ChannelProxy(channel_name, |
- IPC::Channel::MODE_CLIENT, |
- this, |
- io_thread_.message_loop_proxy())); |
+ channel_ = IPC::ChannelProxy::CreateClient( |
+ channel_name, this, io_thread_.message_loop_proxy()); |
} |
bool ReplayProcess::OpenTestcase() { |