| Index: src/core/SkPaint.cpp
|
| diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
|
| index 4ccfce235acc228c1690545bbba9f56bbf186334..d81784ace4bff46a5b70e07e4a5cf1e22b61be11 100644
|
| --- a/src/core/SkPaint.cpp
|
| +++ b/src/core/SkPaint.cpp
|
| @@ -1407,7 +1407,7 @@ void SkScalerContext::MakeRec(const SkPaint& paint,
|
|
|
| rec->fMaskFormat = SkToU8(computeMaskFormat(paint));
|
|
|
| - if (SkMask::kLCD16_Format == rec->fMaskFormat || SkMask::kLCD32_Format == rec->fMaskFormat) {
|
| + if (SkMask::kLCD16_Format == rec->fMaskFormat) {
|
| if (too_big_for_lcd(*rec, checkPost2x2)) {
|
| rec->fMaskFormat = SkMask::kA8_Format;
|
| flags |= SkScalerContext::kGenA8FromLCD_Flag;
|
| @@ -1553,8 +1553,7 @@ void SkScalerContext::PostMakeRec(const SkPaint&, SkScalerContext::Rec* rec) {
|
| * the lum of one of them.
|
| */
|
| switch (rec->fMaskFormat) {
|
| - case SkMask::kLCD16_Format:
|
| - case SkMask::kLCD32_Format: {
|
| + case SkMask::kLCD16_Format: {
|
| // filter down the luminance color to a finite number of bits
|
| SkColor color = rec->getLuminanceColor();
|
| rec->setLuminanceColor(SkMaskGamma::CanonicalColor(color));
|
|
|