summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_fuzzing_tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_fuzzing_tests.cc')
-rw-r--r--ipc/ipc_fuzzing_tests.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ipc/ipc_fuzzing_tests.cc b/ipc/ipc_fuzzing_tests.cc
index 4abcc4c..1ed9acd 100644
--- a/ipc/ipc_fuzzing_tests.cc
+++ b/ipc/ipc_fuzzing_tests.cc
@@ -247,11 +247,11 @@ class FuzzerClientListener : public SimpleListener {
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;
}