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

Unified Diff: chromeos/audio/cras_audio_handler.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/audio/cras_audio_handler.cc
diff --git a/chromeos/audio/cras_audio_handler.cc b/chromeos/audio/cras_audio_handler.cc
index 72e875bc46288fd697a693628f44a2ca5ea5a8a8..3ff5bd9f1a9883cdd874fb9e009a776587af0183 100644
--- a/chromeos/audio/cras_audio_handler.cc
+++ b/chromeos/audio/cras_audio_handler.cc
@@ -121,8 +121,8 @@ bool CrasAudioHandler::IsInitialized() {
// static
CrasAudioHandler* CrasAudioHandler::Get() {
- CHECK(g_cras_audio_handler)
- << "CrasAudioHandler::Get() called before Initialize().";
+ // CrasAudioHandler::Get() called before Initialize().
+ CHECK(g_cras_audio_handler);
return g_cras_audio_handler;
}

Powered by Google App Engine
This is Rietveld 408576698