aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images/SkImageDecoder_libgif.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-12-22 07:37:29 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-22 07:37:29 -0800
commit2d73d80d68bc4b358eaa6da9f725d83f390af96a (patch)
tree9508ffd41c9accbaf63eec3424ae4d870312a1df /src/images/SkImageDecoder_libgif.cpp
parent080e673b10ac607305f140ddb245e140ccde40c6 (diff)
remove dead SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER code
Diffstat (limited to 'src/images/SkImageDecoder_libgif.cpp')
-rw-r--r--src/images/SkImageDecoder_libgif.cpp7
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(),