Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index 585a51d7fdf28df03783002819f7f3bce6998e5e..d4b5ace8083f7e0600fc0a917ad831161e8df520 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -921,7 +921,7 @@ Error ColorCodecSrc::draw(SkCanvas* canvas) const { |
decodeInfo = decodeInfo.makeAlphaType(kPremul_SkAlphaType); |
} |
if (kRGBA_F16_SkColorType == fColorType) { |
- decodeInfo = decodeInfo.makeColorSpace(decodeInfo.colorSpace()->makeLinearGamma()); |
+ decodeInfo = decodeInfo.makeColorSpace(as_CSB(decodeInfo.colorSpace())->makeLinearGamma()); |
} |
SkImageInfo bitmapInfo = decodeInfo; |