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

Unified Diff: util/mach/mach_extensions.cc

Issue 577293002: Use task_t, thread_t, and exception_handler_t uniformly (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 3 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/mach_extensions.cc
diff --git a/util/mach/mach_extensions.cc b/util/mach/mach_extensions.cc
index d012538e694cd2f999eb89b3e31e642bb101650b..86ca7bf24b6cb19a80f5461e0d6a011f5324b8e9 100644
--- a/util/mach/mach_extensions.cc
+++ b/util/mach/mach_extensions.cc
@@ -21,8 +21,8 @@
namespace crashpad {
-mach_port_t MachThreadSelf() {
- // The pthreads library keeps its own copy of the mach_port_t. Using it does
+thread_t MachThreadSelf() {
+ // The pthreads library keeps its own copy of the thread port. Using it does
// not increment its reference count.
return pthread_mach_thread_np(pthread_self());
}

Powered by Google App Engine
This is Rietveld 408576698