| Index: snapshot/mac/mach_o_image_annotations_reader_test.cc
|
| diff --git a/snapshot/mac/mach_o_image_annotations_reader_test.cc b/snapshot/mac/mach_o_image_annotations_reader_test.cc
|
| index 01ecc7a06b0db412b9c7158d72496fbef449f75b..1978d38632c212fc512e1e6e6977df4179d52ec0 100644
|
| --- a/snapshot/mac/mach_o_image_annotations_reader_test.cc
|
| +++ b/snapshot/mac/mach_o_image_annotations_reader_test.cc
|
| @@ -193,7 +193,7 @@ class TestMachOImageAnnotationsReader final
|
| // Wait for the child process to indicate that it’s done setting up its
|
| // annotations via the CrashpadInfo interface.
|
| char c;
|
| - CheckedReadFile(ReadPipeFD(), &c, sizeof(c));
|
| + CheckedReadFile(ReadPipeHandle(), &c, sizeof(c));
|
|
|
| // Verify the “simple map” annotations set via the CrashpadInfo interface.
|
| const std::vector<ProcessReader::Module>& modules =
|
| @@ -216,7 +216,7 @@ class TestMachOImageAnnotationsReader final
|
| EXPECT_EQ("", all_annotations_simple_map["#TEST# empty_value"]);
|
|
|
| // Tell the child process that it’s permitted to crash.
|
| - CheckedWriteFile(WritePipeFD(), &c, sizeof(c));
|
| + CheckedWriteFile(WritePipeHandle(), &c, sizeof(c));
|
|
|
| if (test_type_ != kDontCrash) {
|
| // Handle the child’s crash. Further validation will be done in
|
| @@ -268,10 +268,10 @@ class TestMachOImageAnnotationsReader final
|
|
|
| // Tell the parent that the environment has been set up.
|
| char c = '\0';
|
| - CheckedWriteFile(WritePipeFD(), &c, sizeof(c));
|
| + CheckedWriteFile(WritePipeHandle(), &c, sizeof(c));
|
|
|
| // Wait for the parent to indicate that it’s safe to crash.
|
| - CheckedReadFile(ReadPipeFD(), &c, sizeof(c));
|
| + CheckedReadFile(ReadPipeHandle(), &c, sizeof(c));
|
|
|
| // Direct an exception message to the exception server running in the
|
| // parent.
|
|
|