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

Unified Diff: chromeos/tpm/tpm_token_loader.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: chromeos/tpm/tpm_token_loader.cc
diff --git a/chromeos/tpm/tpm_token_loader.cc b/chromeos/tpm/tpm_token_loader.cc
index e0999e7fef09d897dadd16e0dbd7775a3ad8f76c..63d0a66b05054e60db042e99b2535b9638ddcf9c 100644
--- a/chromeos/tpm/tpm_token_loader.cc
+++ b/chromeos/tpm/tpm_token_loader.cc
@@ -52,8 +52,8 @@ void TPMTokenLoader::Shutdown() {
// static
TPMTokenLoader* TPMTokenLoader::Get() {
- CHECK(g_tpm_token_loader)
- << "TPMTokenLoader::Get() called before Initialize()";
+ // TPMTokenLoader::Get() called before Initialize()
+ CHECK(g_tpm_token_loader);
return g_tpm_token_loader;
}

Powered by Google App Engine
This is Rietveld 408576698