| Index: util/mach/mach_message_server_test.cc
|
| diff --git a/util/mach/mach_message_server_test.cc b/util/mach/mach_message_server_test.cc
|
| index 0ad7efc886e2bdd4a7cafbe918a02a9f4e376942..a3a2a364822f833984a5f925d8bae377e59336af 100644
|
| --- a/util/mach/mach_message_server_test.cc
|
| +++ b/util/mach/mach_message_server_test.cc
|
| @@ -335,13 +335,13 @@ class TestMachMessageServer : public MachMessageServer::Interface,
|
| if (options_.child_wait_for_parent_pipe_early) {
|
| // Tell the child to begin sending messages.
|
| char c = '\0';
|
| - CheckedWriteFile(WritePipeFD(), &c, 1);
|
| + CheckedWriteFile(WritePipeHandle(), &c, 1);
|
| }
|
|
|
| if (options_.parent_wait_for_child_pipe) {
|
| // Wait until the child is done sending what it’s going to send.
|
| char c;
|
| - CheckedReadFile(ReadPipeFD(), &c, 1);
|
| + CheckedReadFile(ReadPipeHandle(), &c, 1);
|
| EXPECT_EQ('\0', c);
|
| }
|
|
|
| @@ -386,7 +386,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
|
| if (options_.child_wait_for_parent_pipe_late) {
|
| // Let the child know it’s safe to exit.
|
| char c = '\0';
|
| - CheckedWriteFile(WritePipeFD(), &c, 1);
|
| + CheckedWriteFile(WritePipeHandle(), &c, 1);
|
| }
|
| }
|
|
|
| @@ -394,7 +394,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
|
| if (options_.child_wait_for_parent_pipe_early) {
|
| // Wait until the parent is done setting things up on its end.
|
| char c;
|
| - CheckedReadFile(ReadPipeFD(), &c, 1);
|
| + CheckedReadFile(ReadPipeHandle(), &c, 1);
|
| EXPECT_EQ('\0', c);
|
| }
|
|
|
| @@ -428,7 +428,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
|
|
|
| if (options_.child_wait_for_parent_pipe_late) {
|
| char c;
|
| - CheckedReadFile(ReadPipeFD(), &c, 1);
|
| + CheckedReadFile(ReadPipeHandle(), &c, 1);
|
| ASSERT_EQ('\0', c);
|
| }
|
| }
|
| @@ -550,7 +550,7 @@ class TestMachMessageServer : public MachMessageServer::Interface,
|
| // running MachMessageServer() once it’s received.
|
| void ChildNotifyParentViaPipe() {
|
| char c = '\0';
|
| - CheckedWriteFile(WritePipeFD(), &c, 1);
|
| + CheckedWriteFile(WritePipeHandle(), &c, 1);
|
| }
|
|
|
| // In the child process, sends a request message to the server and then
|
|
|