return false;
}
- // TODO: consider supporting other configs (e.g. 565, A8)
- if (fBitmap->config() != SkBitmap::kARGB_8888_Config) {
+ // TODO: consider supporting other colortypes (e.g. 565, A8)
+ if (fBitmap->colorType() != kN32_SkColorType) {
return false;
}