Index: src/codec/SkJpegCodec.cpp |
diff --git a/src/codec/SkJpegCodec.cpp b/src/codec/SkJpegCodec.cpp |
index ac57799fb59de3334743115ba107ed3a1c3552b3..f6c856ee1d7a7ac95ceaa00dff56ceb13ee0b4f0 100644 |
--- a/src/codec/SkJpegCodec.cpp |
+++ b/src/codec/SkJpegCodec.cpp |
@@ -518,7 +518,7 @@ int SkJpegCodec::readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes |
if (fColorXform) { |
fColorXform->apply(dst, swizzleDst, dstWidth, select_xform_format(dstInfo.colorType()), |
- kOpaque_SkAlphaType); |
+ SkColorSpaceXform::kRGBA_8888_ColorFormat, kOpaque_SkAlphaType); |
dst = SkTAddOffset<void>(dst, rowBytes); |
} |