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..1e6f4c28c53b6d41a94078ad463726560e52abbe 100644 |
--- a/tools/ipc_fuzzer/replay/replay_process.cc |
+++ b/tools/ipc_fuzzer/replay/replay_process.cc |
@@ -55,11 +55,10 @@ 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::Create(channel_name, |
+ IPC::Channel::MODE_CLIENT, |
+ this, |
+ io_thread_.message_loop_proxy()); |
} |
bool ReplayProcess::OpenTestcase() { |