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

Unified Diff: util/mach/task_memory.h

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/task_memory.h
diff --git a/util/mach/task_memory.h b/util/mach/task_memory.h
index 374f3304dbf7575fc5f75737d3b4a490df389100..cd1adf96d4ab6d55257ea30f5ea3f2054768dd3c 100644
--- a/util/mach/task_memory.h
+++ b/util/mach/task_memory.h
@@ -88,7 +88,7 @@ class TaskMemory {
//! \param[in] task A send right to the target task’s task port. This object
//! does not take ownership of the send right.
- explicit TaskMemory(mach_port_t task);
+ explicit TaskMemory(task_t task);
~TaskMemory() {}
@@ -167,7 +167,7 @@ class TaskMemory {
mach_vm_size_t size,
std::string* string);
- mach_port_t task_; // weak
+ task_t task_; // weak
DISALLOW_COPY_AND_ASSIGN(TaskMemory);
};

Powered by Google App Engine
This is Rietveld 408576698