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

Unified Diff: content/test/content_browser_sanity_checker.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: content/test/content_browser_sanity_checker.cc
diff --git a/content/test/content_browser_sanity_checker.cc b/content/test/content_browser_sanity_checker.cc
index 3f8ed02b88ecdfe971539115338081f3158cbca1..46e1dc8140a847dbb5c62fabd7645b69fe65520e 100644
--- a/content/test/content_browser_sanity_checker.cc
+++ b/content/test/content_browser_sanity_checker.cc
@@ -15,9 +15,8 @@ bool g_sanity_checks_already_enabled = false;
}
ContentBrowserSanityChecker::ContentBrowserSanityChecker() {
- CHECK(!g_sanity_checks_already_enabled)
- << "Tried to enable ContentBrowserSanityChecker, but it's already been "
- << "enabled.";
+ // Tried to enable ContentBrowserSanityChecker, but it's already been enabled.
+ CHECK(!g_sanity_checks_already_enabled);
g_sanity_checks_already_enabled = true;
creation_hook_ =

Powered by Google App Engine
This is Rietveld 408576698