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

Unified Diff: ui/gfx/image/image.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/image/image.cc
diff --git a/ui/gfx/image/image.cc b/ui/gfx/image/image.cc
index d7c67ccd65a7274d3ce6865aba7e4284d5c22b8c..86119d84c9b0a40e15afe4e8e6235b9fed49905c 100644
--- a/ui/gfx/image/image.cc
+++ b/ui/gfx/image/image.cc
@@ -757,7 +757,8 @@ internal::ImageRep* Image::AddRepresentation(
// insert should not fail (implies that there was already a representation of
// that type in the map).
- CHECK(result.second) << "type was already in map.";
+ // type was already in map.
+ CHECK(result.second);
return result.first->second.get();
}

Powered by Google App Engine
This is Rietveld 408576698