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

Unified Diff: third_party/crashpad/crashpad/util/posix/process_info_mac.cc

Issue 2773813002: Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98 (Closed)
Patch Set: Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98 Created 3 years, 9 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: third_party/crashpad/crashpad/util/posix/process_info_mac.cc
diff --git a/third_party/crashpad/crashpad/util/posix/process_info_mac.cc b/third_party/crashpad/crashpad/util/posix/process_info_mac.cc
index 17d205a68e5bb110e23c8b03b2c1eb2da0df63f5..4a1fc58ab9e59e793187b38c7adde8527e61845d 100644
--- a/third_party/crashpad/crashpad/util/posix/process_info_mac.cc
+++ b/third_party/crashpad/crashpad/util/posix/process_info_mac.cc
@@ -132,14 +132,16 @@ bool ProcessInfo::DidChangePrivileges() const {
return kern_proc_info_.kp_proc.p_flag & P_SUGID;
}
-bool ProcessInfo::Is64Bit() const {
+bool ProcessInfo::Is64Bit(bool* is_64_bit) const {
INITIALIZATION_STATE_DCHECK_VALID(initialized_);
- return kern_proc_info_.kp_proc.p_flag & P_LP64;
+ *is_64_bit = kern_proc_info_.kp_proc.p_flag & P_LP64;
+ return true;
}
-void ProcessInfo::StartTime(timeval* start_time) const {
+bool ProcessInfo::StartTime(timeval* start_time) const {
INITIALIZATION_STATE_DCHECK_VALID(initialized_);
*start_time = kern_proc_info_.kp_proc.p_starttime;
+ return true;
}
bool ProcessInfo::Arguments(std::vector<std::string>* argv) const {

Powered by Google App Engine
This is Rietveld 408576698