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

Unified Diff: util/mach/child_port_handshake.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 | « tools/on_demand_service_tool.ad ('k') | util/mach/exc_client_variants_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/child_port_handshake.cc
diff --git a/util/mach/child_port_handshake.cc b/util/mach/child_port_handshake.cc
index 0abf1912a3da267ee1f70052219e1b45a6d28167..ca529213c2ca5a944d81f97bb9c695f5740dd8e9 100644
--- a/util/mach/child_port_handshake.cc
+++ b/util/mach/child_port_handshake.cc
@@ -34,6 +34,7 @@
#include "util/file/fd_io.h"
#include "util/mach/child_port.h"
#include "util/mach/mach_extensions.h"
+#include "util/mach/mach_message.h"
#include "util/mach/mach_message_server.h"
namespace crashpad {
@@ -213,9 +214,8 @@ mach_port_t ChildPortHandshake::RunServer() {
server_port_set,
MACH_MSG_OPTION_NONE,
MachMessageServer::kOneShot,
- MachMessageServer::kNonblocking,
MachMessageServer::kReceiveLargeIgnore,
- MACH_MSG_TIMEOUT_NONE);
+ kMachMessageTimeoutNonblocking);
if (mr == MACH_RCV_TIMED_OUT) {
break;
} else if (mr != MACH_MSG_SUCCESS) {
« no previous file with comments | « tools/on_demand_service_tool.ad ('k') | util/mach/exc_client_variants_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698