Index: client/simulate_crash_mac_test.cc |
diff --git a/client/simulate_crash_mac_test.cc b/client/simulate_crash_mac_test.cc |
index 4151b112c9f76c85ebee3f15222040af86ee615f..0fd08fc1e6c8cdaeadf5ef40318f18b813613c5d 100644 |
--- a/client/simulate_crash_mac_test.cc |
+++ b/client/simulate_crash_mac_test.cc |
@@ -25,6 +25,7 @@ |
#include "util/mach/exception_behaviors.h" |
#include "util/mach/exception_ports.h" |
#include "util/mach/mach_extensions.h" |
+#include "util/mach/mach_message.h" |
#include "util/mach/mach_message_server.h" |
#include "util/mach/symbolic_constants_mach.h" |
#include "util/test/mac/mach_errors.h" |
@@ -251,9 +252,8 @@ class TestSimulateCrashMac final : public MachMultiprocess, |
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"); |
} |
@@ -263,9 +263,8 @@ class TestSimulateCrashMac final : public MachMultiprocess, |
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"); |
} |