Index: src/codec/SkCodec.cpp |
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp |
index 6ef61b289a4765440a4456ca4950be905d3b6cb0..ffe90af5399004b3dcde1155ec1a8309890c7ede 100644 |
--- a/src/codec/SkCodec.cpp |
+++ b/src/codec/SkCodec.cpp |
@@ -133,10 +133,5 @@ SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t |
} |
SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { |
- SkASSERT(kIndex_8_SkColorType != info.colorType()); |
- if (kIndex_8_SkColorType == info.colorType()) { |
- return kInvalidConversion; |
- } |
return this->getPixels(info, pixels, rowBytes, NULL, NULL, NULL); |
} |
- |