Index: third_party/crashpad/crashpad/snapshot/mac/process_reader.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc b/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc |
index 46b83c13873c33a750200258958c9e4188bce851..46083ab3fa9ffe1e13561fe473d3b8ea2ee23213 100644 |
--- a/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc |
+++ b/third_party/crashpad/crashpad/snapshot/mac/process_reader.cc |
@@ -116,7 +116,9 @@ bool ProcessReader::Initialize(task_t task) { |
return false; |
} |
- is_64_bit_ = process_info_.Is64Bit(); |
+ if (!process_info_.Is64Bit(&is_64_bit_)) { |
+ return false; |
+ } |
task_memory_.reset(new TaskMemory(task)); |
task_ = task; |
@@ -125,6 +127,11 @@ bool ProcessReader::Initialize(task_t task) { |
return true; |
} |
+void ProcessReader::StartTime(timeval* start_time) const { |
+ bool rv = process_info_.StartTime(start_time); |
+ DCHECK(rv); |
+} |
+ |
bool ProcessReader::CPUTimes(timeval* user_time, timeval* system_time) const { |
INITIALIZATION_STATE_DCHECK_VALID(initialized_); |