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

Unified Diff: util/mach/child_port_handshake.h

Issue 1409073013: mac: Make crashpad_handler get its receive right from its client (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rebase Created 5 years, 2 months 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
Index: util/mach/child_port_handshake.h
diff --git a/util/mach/child_port_handshake.h b/util/mach/child_port_handshake.h
index c1d7ab9a592d3a306faedbe4eb1a0ebd58aa7031..5110e1dfd2b1ddba8c3386fa1a1023df90080b9c 100644
--- a/util/mach/child_port_handshake.h
+++ b/util/mach/child_port_handshake.h
@@ -122,7 +122,7 @@ class ChildPortHandshakeTest;
//!
//! // Send the receive right to the child process, retaining the send right
//! // for use in the parent process.
-//! if (child_port_handshake.RunClient(receive_right,
+//! if (child_port_handshake.RunClient(receive_right.get(),
//! MACH_MSG_TYPE_MOVE_RECEIVE)) {
//! ignore_result(receive_right.release());
//! }

Powered by Google App Engine
This is Rietveld 408576698