Index: src/images/SkImageDecoder_pkm.cpp |
diff --git a/src/images/SkImageDecoder_pkm.cpp b/src/images/SkImageDecoder_pkm.cpp |
index 746ae40c4c287a44839ad6d22d4fa84acd402742..17ef2f3037ee0d99063cdc76d835de9ea42f4a59 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()); |