Index: src/utils/debugger/SkObjectParser.cpp |
diff --git a/src/utils/debugger/SkObjectParser.cpp b/src/utils/debugger/SkObjectParser.cpp |
index 54ae0773fd265788a46acb315d9450889fefa9cf..ebbd40018e79e3f7a5b243f35b9356986cdc3eeb 100644 |
--- a/src/utils/debugger/SkObjectParser.cpp |
+++ b/src/utils/debugger/SkObjectParser.cpp |
@@ -26,9 +26,9 @@ SkString* SkObjectParser::BitmapToString(const SkBitmap& bitmap) { |
mBitmap->appendS32(bitmap.height()); |
const char* gConfigStrings[] = { |
- "None", "A1", "A8", "Index8", "RGB565", "ARGB4444", "ARGB8888" |
+ "None", "A8", "Index8", "RGB565", "ARGB4444", "ARGB8888" |
}; |
- SkASSERT(SkBitmap::kConfigCount == 7); |
+ SkASSERT(SkBitmap::kConfigCount == SK_ARRAY_COUNT(gConfigStrings)); |
mBitmap->append(" Config: "); |
mBitmap->append(gConfigStrings[bitmap.config()]); |