| Index: src/codec/SkSampledCodec.cpp
|
| diff --git a/src/codec/SkSampledCodec.cpp b/src/codec/SkSampledCodec.cpp
|
| index 49c939c1f887c500f8795173a031dc2c996b36eb..47f99f796633203ec242ace5d7b833f8438634b6 100644
|
| --- a/src/codec/SkSampledCodec.cpp
|
| +++ b/src/codec/SkSampledCodec.cpp
|
| @@ -253,7 +253,7 @@ SkCodec::Result SkSampledCodec::sampledDecode(const SkImageInfo& info, void* pix
|
|
|
| // We handle filling uninitialized memory here instead of using this->codec().
|
| // this->codec() does not know that we are sampling.
|
| - const uint32_t fillValue = this->codec()->getFillValue(info.colorType());
|
| + const uint64_t fillValue = this->codec()->getFillValue(info);
|
| const SkImageInfo fillInfo = info.makeWH(info.width(), 1);
|
| for (; y < nativeSize.height(); y++) {
|
| int srcY = this->codec()->outputScanline(y);
|
|
|