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