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

Unified Diff: util/mac/process_reader.cc

Issue 649713002: Use the correct null constants for Mach threads, tasks, and hosts (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 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 | « tools/exception_port_tool.cc ('k') | util/mach/exc_client_variants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mac/process_reader.cc
diff --git a/util/mac/process_reader.cc b/util/mac/process_reader.cc
index f82a4f5c5b3e5f903dbe074f965a90820b3776b1..c422876d12f9770e0e95f2ced9ef7d9afa610459 100644
--- a/util/mac/process_reader.cc
+++ b/util/mac/process_reader.cc
@@ -78,7 +78,7 @@ ProcessReader::Thread::Thread()
stack_region_address(0),
stack_region_size(0),
thread_specific_data_address(0),
- port(MACH_PORT_NULL),
+ port(THREAD_NULL),
suspend_count(0),
priority(0) {
}
@@ -95,7 +95,7 @@ ProcessReader::ProcessReader()
modules_(),
module_readers_(),
task_memory_(),
- task_(MACH_PORT_NULL),
+ task_(TASK_NULL),
initialized_(),
is_64_bit_(false),
initialized_threads_(false),
« no previous file with comments | « tools/exception_port_tool.cc ('k') | util/mach/exc_client_variants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698