diff options
author | 2014-12-22 07:37:29 -0800 | |
---|---|---|
committer | 2014-12-22 07:37:29 -0800 | |
commit | 2d73d80d68bc4b358eaa6da9f725d83f390af96a (patch) | |
tree | 9508ffd41c9accbaf63eec3424ae4d870312a1df /src/images/SkImageDecoder_libgif.cpp | |
parent | 080e673b10ac607305f140ddb245e140ccde40c6 (diff) |
remove dead SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER code
BUG=skia:
Review URL: https://codereview.chromium.org/816273002
Diffstat (limited to 'src/images/SkImageDecoder_libgif.cpp')
-rw-r--r-- | src/images/SkImageDecoder_libgif.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/images/SkImageDecoder_libgif.cpp b/src/images/SkImageDecoder_libgif.cpp index fb5d18fc08..1d0e500206 100644 --- a/src/images/SkImageDecoder_libgif.cpp +++ b/src/images/SkImageDecoder_libgif.cpp @@ -310,13 +310,6 @@ SkImageDecoder::Result SkGIFImageDecoder::onDecode(SkStream* sk_stream, SkBitmap imageTop = 0; } -#ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER - // FIXME: We could give the caller a choice of images or configs. - if (!this->chooseFromOneChoice(kIndex_8_SkColorType, width, height)) { - return error_return(*bm, "chooseFromOneChoice"); - } -#endif - SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), |