Fix assert in debugger
Review URL: https://codereview.chromium.org/1029903002
This commit is contained in:
parent
6776a538f9
commit
46bffd6fbe
@ -26,7 +26,7 @@ SkString* SkObjectParser::BitmapToString(const SkBitmap& bitmap) {
|
||||
mBitmap->appendS32(bitmap.height());
|
||||
|
||||
const char* gColorTypeStrings[] = {
|
||||
"None", "A8", "565", "4444", "RGBA", "BGRA", "Index8"
|
||||
"None", "A8", "565", "4444", "RGBA", "BGRA", "Index8", "G8"
|
||||
};
|
||||
SkASSERT(kLastEnum_SkColorType + 1 == SK_ARRAY_COUNT(gColorTypeStrings));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user