Index: ipc/ipc_send_fds_test.cc |
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc |
index fcba77f6229abe9d53b6fdc677daec8d3c29ed1a..3961fa16e52d73bf234d80ab6167b5c2cd7e5bdd 100644 |
--- a/ipc/ipc_send_fds_test.cc |
+++ b/ipc/ipc_send_fds_test.cc |
@@ -234,9 +234,8 @@ class PipeChannelHelper { |
void Init() { |
IPC::ChannelHandle in_handle("IN"); |
in = IPC::Channel::CreateServer(in_handle, &null_listener_); |
- base::FileDescriptor out_fd( |
- in->TakeClientFileDescriptor(), false); |
- IPC::ChannelHandle out_handle("OUT", out_fd); |
+ IPC::ChannelHandle out_handle( |
+ "OUT", base::FileDescriptor(in->TakeClientFileDescriptor())); |
out = IPC::Channel::CreateClient(out_handle, &cb_listener_); |
// PostTask the connect calls to make sure the callbacks happens |
// on the right threads. |