aboutsummaryrefslogtreecommitdiffstats
path: root/src/images/SkImageDecoder_pkm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/images/SkImageDecoder_pkm.cpp')
-rw-r--r--src/images/SkImageDecoder_pkm.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/images/SkImageDecoder_pkm.cpp b/src/images/SkImageDecoder_pkm.cpp
index 746ae40c4c..17ef2f3037 100644
--- a/src/images/SkImageDecoder_pkm.cpp
+++ b/src/images/SkImageDecoder_pkm.cpp
@@ -47,13 +47,6 @@ SkImageDecoder::Result SkPKMImageDecoder::onDecode(SkStream* stream, SkBitmap* b
const unsigned short width = etc1_pkm_get_width(buf);
const unsigned short height = etc1_pkm_get_height(buf);
-#ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER
- // should we allow the Chooser (if present) to pick a config for us???
- if (!this->chooseFromOneChoice(kN32_SkColorType, width, height)) {
- return kFailure;
- }
-#endif
-
// Setup the sampler...
SkScaledBitmapSampler sampler(width, height, this->getSampleSize());