Index: trunk/src/ipc/ipc_fuzzing_tests.cc |
=================================================================== |
--- trunk/src/ipc/ipc_fuzzing_tests.cc (revision 273594) |
+++ trunk/src/ipc/ipc_fuzzing_tests.cc (working copy) |
@@ -247,11 +247,11 @@ |
MULTIPROCESS_IPC_TEST_CLIENT_MAIN(FuzzServerClient) { |
base::MessageLoopForIO main_message_loop; |
FuzzerServerListener listener; |
- scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient( |
- IPCTestBase::GetChannelName("FuzzServerClient"), |
- &listener)); |
- CHECK(channel->Connect()); |
- listener.Init(channel.get()); |
+ IPC::Channel channel(IPCTestBase::GetChannelName("FuzzServerClient"), |
+ IPC::Channel::MODE_CLIENT, |
+ &listener); |
+ CHECK(channel.Connect()); |
+ listener.Init(&channel); |
base::MessageLoop::current()->Run(); |
return 0; |
} |