Index: src/utils/debugger/SkObjectParser.cpp |
diff --git a/src/utils/debugger/SkObjectParser.cpp b/src/utils/debugger/SkObjectParser.cpp |
index 5f3fa449096306e8c2669c8d3bcd589c3c03c6a0..6d71a38b7b86e99fab48d49fcb51d0ffc560e655 100644 |
--- a/src/utils/debugger/SkObjectParser.cpp |
+++ b/src/utils/debugger/SkObjectParser.cpp |
@@ -26,12 +26,11 @@ |
mBitmap->appendS32(bitmap.width()); |
mBitmap->append(" H: "); |
mBitmap->appendS32(bitmap.height()); |
- |
+ |
const char* gColorTypeStrings[] = { |
- "None", "A8", "565", "4444", "RGBA", "BGRA", "Index8", "G8", "RGBAf16" |
+ "None", "A8", "565", "4444", "RGBA", "BGRA", "Index8", "G8" |
}; |
- static_assert(kLastEnum_SkColorType + 1 == SK_ARRAY_COUNT(gColorTypeStrings), |
- "colortype names do not match colortype enum"); |
+ SkASSERT(kLastEnum_SkColorType + 1 == SK_ARRAY_COUNT(gColorTypeStrings)); |
mBitmap->append(" ColorType: "); |
mBitmap->append(gColorTypeStrings[bitmap.colorType()]); |