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

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

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase 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 7c51cc2e6d8cef05e7a83396e15b481cda4d35eb..e357161b7e8babd1d7f24e348112d804b84d4bca 100644
--- a/third_party/crashpad/crashpad/util/mac/mac_util.cc
+++ b/third_party/crashpad/crashpad/util/mac/mac_util.cc
@@ -77,7 +77,8 @@ int DarwinMajorVersion() {
utsname uname_info;
int rv = uname(&uname_info);
- PCHECK(rv == 0) << "uname";
+ // uname
+ CHECK(rv == 0);
DCHECK_EQ(strcmp(uname_info.sysname, "Darwin"), 0) << "unexpected sysname "
<< uname_info.sysname;

Powered by Google App Engine
This is Rietveld 408576698