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

Unified Diff: third_party/crashpad/crashpad/util/mac/mac_util.cc

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years 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/mac/mac_util.cc
diff --git a/third_party/crashpad/crashpad/util/mac/mac_util.cc b/third_party/crashpad/crashpad/util/mac/mac_util.cc
index a792e51197464a30574e4dbea5d79fc91b0fbc24..7c51cc2e6d8cef05e7a83396e15b481cda4d35eb 100644
--- a/third_party/crashpad/crashpad/util/mac/mac_util.cc
+++ b/third_party/crashpad/crashpad/util/mac/mac_util.cc
@@ -181,9 +181,8 @@ std::string IORegistryEntryDataPropertyAsString(io_registry_entry_t entry,
namespace crashpad {
int MacOSXMinorVersion() {
- // The Darwin major version is always 4 greater than the Mac OS X minor
- // version for Darwin versions beginning with 6, corresponding to Mac OS X
- // 10.2.
+ // The Darwin major version is always 4 greater than the macOS minor version
+ // for Darwin versions beginning with 6, corresponding to Mac OS X 10.2.
static int mac_os_x_minor_version = DarwinMajorVersion() - 4;
DCHECK(mac_os_x_minor_version >= 2);
return mac_os_x_minor_version;
« no previous file with comments | « third_party/crashpad/crashpad/util/mac/mac_util.h ('k') | third_party/crashpad/crashpad/util/mac/service_management.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698