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

Unified Diff: util/mac/process_reader.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/mac/process_reader.cc
diff --git a/util/mac/process_reader.cc b/util/mac/process_reader.cc
index de48eba6bd622edfb68d2fcda63680b2b7565a2d..5d990c4e6b348c3568bed4ff1b9fc2cafe944db3 100644
--- a/util/mac/process_reader.cc
+++ b/util/mac/process_reader.cc
@@ -35,7 +35,7 @@ void MachTimeValueToTimeval(const time_value& mach, timeval* tv) {
tv->tv_usec = mach.microseconds;
}
-kern_return_t MachVMRegionRecurseDeepest(mach_port_t task,
+kern_return_t MachVMRegionRecurseDeepest(task_t task,
mach_vm_address_t* address,
mach_vm_size_t* size,
natural_t* depth,
@@ -107,7 +107,7 @@ ProcessReader::~ProcessReader() {
}
}
-bool ProcessReader::Initialize(mach_port_t task) {
+bool ProcessReader::Initialize(task_t task) {
INITIALIZATION_STATE_SET_INITIALIZING(initialized_);
pid_t pid;

Powered by Google App Engine
This is Rietveld 408576698