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

Unified Diff: ui/gfx/android/java_bitmap.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/android/java_bitmap.cc
diff --git a/ui/gfx/android/java_bitmap.cc b/ui/gfx/android/java_bitmap.cc
index 82f1bca46ecf60de9f131e2f266af3335743840d..c09d17ed77059b1affe444c4e6a80992d49a9ed1 100644
--- a/ui/gfx/android/java_bitmap.cc
+++ b/ui/gfx/android/java_bitmap.cc
@@ -103,7 +103,8 @@ SkBitmap CreateSkBitmapFromJavaBitmap(const JavaBitmap& jbitmap) {
jbitmap.stride());
break;
default:
- CHECK(false) << "Invalid Java bitmap format: " << jbitmap.format();
+ // Invalid Java bitmap format.
+ CHECK(false);
break;
}
CHECK_EQ(jbitmap.byte_count(), static_cast<int>(skbitmap.getSize()));

Powered by Google App Engine
This is Rietveld 408576698