Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: client/simulate_crash_mac_test.cc

Issue 777993002: MachMessageServer: eliminate argument redundancy (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | snapshot/mac/mach_o_image_annotations_reader_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
« no previous file with comments | « no previous file | snapshot/mac/mach_o_image_annotations_reader_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698