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

Unified Diff: tools/mac/catch_exception_tool.cc

Issue 1405273002: Mach port scopers should use get() instead of type conversion operators (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: More is_valid() 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
« no previous file with comments | « test/mac/mach_multiprocess.cc ('k') | tools/mac/exception_port_tool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/mac/catch_exception_tool.cc
diff --git a/tools/mac/catch_exception_tool.cc b/tools/mac/catch_exception_tool.cc
index b70ce0a5b45cb4d6a48308d17dce01a9d260fd34..32c6aed20a13a79558ebb266a5a7003d8e139c00 100644
--- a/tools/mac/catch_exception_tool.cc
+++ b/tools/mac/catch_exception_tool.cc
@@ -301,7 +301,7 @@ int CatchExceptionToolMain(int argc, char* argv[]) {
}
mach_msg_return_t mr = MachMessageServer::Run(&universal_mach_exc_server,
- service_port,
+ service_port.get(),
MACH_MSG_OPTION_NONE,
options.persistent,
receive_large,
« no previous file with comments | « test/mac/mach_multiprocess.cc ('k') | tools/mac/exception_port_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698