Index: src/gpu/GrFontScaler.cpp |
diff --git a/src/gpu/GrFontScaler.cpp b/src/gpu/GrFontScaler.cpp |
index b16b498ac1d31bce909c2d218c2d7f91141913c5..0f85b83e1670df4fb504d5f31a73b84ca4438b74 100644 |
--- a/src/gpu/GrFontScaler.cpp |
+++ b/src/gpu/GrFontScaler.cpp |
@@ -68,8 +68,6 @@ GrMaskFormat GrFontScaler::getMaskFormat() const { |
return kA8_GrMaskFormat; |
case SkMask::kLCD16_Format: |
return kA565_GrMaskFormat; |
- case SkMask::kLCD32_Format: |
- return kA888_GrMaskFormat; |
case SkMask::kARGB32_Format: |
return kARGB_GrMaskFormat; |
default: |
@@ -97,8 +95,6 @@ GrMaskFormat GrFontScaler::getPackedGlyphMaskFormat(GrGlyph::PackedID packed) co |
return kA8_GrMaskFormat; |
case SkMask::kLCD16_Format: |
return kA565_GrMaskFormat; |
- case SkMask::kLCD32_Format: |
- return kA888_GrMaskFormat; |
case SkMask::kARGB32_Format: |
return kARGB_GrMaskFormat; |
default: |
@@ -183,11 +179,6 @@ bool GrFontScaler::getPackedGlyphImage(GrGlyph::PackedID packed, |
expand_bits(rgb565, bits, width, height, dstRB, srcRB); |
break; |
} |
- case kA888_GrMaskFormat: { |
- uint32_t* rgba8888 = reinterpret_cast<uint32_t*>(dst); |
- expand_bits(rgba8888, bits, width, height, dstRB, srcRB); |
- break; |
- } |
default: |
SkFAIL("Invalid GrMaskFormat"); |
} |