diff --git a/src/image/SkImage_Lazy.h b/src/image/SkImage_Lazy.h index 0e047be9e4..3993620833 100644 --- a/src/image/SkImage_Lazy.h +++ b/src/image/SkImage_Lazy.h @@ -38,7 +38,7 @@ public: return fInfo; } SkColorType onColorType() const override { - return kUnknown_SkColorType; + return fInfo.colorType(); } SkAlphaType onAlphaType() const override { return fInfo.alphaType();