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

Unified Diff: chromeos/login/login_state.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/login/login_state.cc
diff --git a/chromeos/login/login_state.cc b/chromeos/login/login_state.cc
index 99c5dfe8c3ff9c9dad72a3e921fae2fc665b0626..4560f9c7e2e270e1c7e4aa64062b4bd4ef24abaf 100644
--- a/chromeos/login/login_state.cc
+++ b/chromeos/login/login_state.cc
@@ -42,7 +42,8 @@ void LoginState::Shutdown() {
// static
LoginState* LoginState::Get() {
- CHECK(g_login_state) << "LoginState::Get() called before Initialize()";
+ // LoginState::Get() called before Initialize()
+ CHECK(g_login_state);
return g_login_state;
}

Powered by Google App Engine
This is Rietveld 408576698