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 939f913f25111249068039abfe9a8f37a22d1cdb..c2ee368552386e7266ee95b5cad3649c6eef6675 100644 |
--- a/snapshot/mac/mach_o_image_annotations_reader_test.cc |
+++ b/snapshot/mac/mach_o_image_annotations_reader_test.cc |
@@ -34,6 +34,7 @@ |
#include "util/mac/mac_util.h" |
#include "util/mach/exc_server_variants.h" |
#include "util/mach/exception_ports.h" |
+#include "util/mach/mach_message.h" |
#include "util/mach/mach_message_server.h" |
#include "util/test/errors.h" |
#include "util/test/mac/mach_errors.h" |
@@ -227,9 +228,8 @@ class TestMachOImageAnnotationsReader final |
LocalPort(), |
MACH_MSG_OPTION_NONE, |
MachMessageServer::kOneShot, |
- MachMessageServer::kBlocking, |
MachMessageServer::kReceiveLargeError, |
- MACH_MSG_TIMEOUT_NONE); |
+ kMachMessageTimeoutWaitIndefinitely); |
EXPECT_EQ(MACH_MSG_SUCCESS, mr) |
<< MachErrorMessage(mr, "MachMessageServer::Run"); |