Index: src/codec/SkJpegCodec.cpp |
diff --git a/src/codec/SkJpegCodec.cpp b/src/codec/SkJpegCodec.cpp |
index e920de1956f4db76f75b66b5a087058d0ec25a03..2005d1d694be889ede12ab6d8016517846b6fd9b 100644 |
--- a/src/codec/SkJpegCodec.cpp |
+++ b/src/codec/SkJpegCodec.cpp |
@@ -331,13 +331,6 @@ bool SkJpegCodec::onRewind() { |
* Sets the output color space |
*/ |
bool SkJpegCodec::setOutputColorSpace(const SkImageInfo& dst) { |
- const SkImageInfo& src = this->getInfo(); |
- |
- // Ensure that the profile type is unchanged |
- if (dst.profileType() != src.profileType()) { |
- return false; |
- } |
- |
if (kUnknown_SkAlphaType == dst.alphaType()) { |
return false; |
} |