Index: src/codec/SkBmpStandardCodec.cpp |
diff --git a/src/codec/SkBmpStandardCodec.cpp b/src/codec/SkBmpStandardCodec.cpp |
index 089e3105c2ce369e35f15c46c642f964b4f0714b..7d67d18c8ff3dc91293c9f1b8dee7165a7ff5b1a 100644 |
--- a/src/codec/SkBmpStandardCodec.cpp |
+++ b/src/codec/SkBmpStandardCodec.cpp |
@@ -302,10 +302,11 @@ void SkBmpStandardCodec::decodeIcoMask(SkStream* stream, const SkImageInfo& dstI |
} |
} |
-uint32_t SkBmpStandardCodec::onGetFillValue(SkColorType colorType) const { |
+uint64_t SkBmpStandardCodec::onGetFillValue(const SkImageInfo& dstInfo) const { |
const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); |
if (colorPtr) { |
- return get_color_table_fill_value(colorType, colorPtr, 0); |
+ return get_color_table_fill_value(dstInfo.colorType(), dstInfo.alphaType(), colorPtr, 0, |
+ nullptr); |
} |
- return INHERITED::onGetFillValue(colorType); |
+ return INHERITED::onGetFillValue(dstInfo); |
} |