Fix assert in debugger

Review URL: https://codereview.chromium.org/1029903002
This commit is contained in:
robertphillips 2015-03-24 11:09:07 -07:00 committed by Commit bot
parent 6776a538f9
commit 46bffd6fbe

View File

@ -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));