| Index: src/codec/SkBmpMaskCodec.cpp
|
| diff --git a/src/codec/SkBmpMaskCodec.cpp b/src/codec/SkBmpMaskCodec.cpp
|
| index 7d1706e697f0e3b955a866e53d77ae65def773f4..1c89ba1c84de158d80efa8725aebeef6d6b6c68c 100644
|
| --- a/src/codec/SkBmpMaskCodec.cpp
|
| +++ b/src/codec/SkBmpMaskCodec.cpp
|
| @@ -10,33 +10,6 @@
|
| #include "SkColorPriv.h"
|
|
|
| /*
|
| - * Checks if the conversion between the input image and the requested output
|
| - * image has been implemented
|
| - */
|
| -static bool conversion_possible(const SkImageInfo& dst,
|
| - const SkImageInfo& src) {
|
| - // Ensure that the profile type is unchanged
|
| - if (dst.profileType() != src.profileType()) {
|
| - return false;
|
| - }
|
| -
|
| - // Ensure the alpha type is valid
|
| - if (!valid_alpha(dst.alphaType(), src.alphaType())) {
|
| - return false;
|
| - }
|
| -
|
| - // Check for supported color types
|
| - switch (dst.colorType()) {
|
| - // Allow output to kN32
|
| - case kN32_SkColorType:
|
| - return true;
|
| - default:
|
| - return false;
|
| - }
|
| -}
|
| -
|
| -
|
| -/*
|
| * Creates an instance of the decoder
|
| */
|
| SkBmpMaskCodec::SkBmpMaskCodec(const SkImageInfo& info, SkStream* stream,
|
|
|