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

Unified Diff: ui/gfx/x/x11_atom_cache.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: ui/gfx/x/x11_atom_cache.cc
diff --git a/ui/gfx/x/x11_atom_cache.cc b/ui/gfx/x/x11_atom_cache.cc
index 0d179343135a3e71ac29836595d40836944b54db..c7d8dc18c4c705c757c79c01d53a8eca8cd3f88a 100644
--- a/ui/gfx/x/x11_atom_cache.cc
+++ b/ui/gfx/x/x11_atom_cache.cc
@@ -42,7 +42,8 @@ XAtom X11AtomCache::GetAtom(const char* name) const {
return atom;
}
- CHECK(it != cached_atoms_.end()) << " Atom " << name << " not found";
+ // Atom |name| not found
+ CHECK(it != cached_atoms_.end());
return it->second;
}

Powered by Google App Engine
This is Rietveld 408576698