| Index: src/codec/SkMaskSwizzler.h
|
| diff --git a/src/codec/SkMaskSwizzler.h b/src/codec/SkMaskSwizzler.h
|
| index fbc951a070806e954896e56913e863360ca398ee..0513d838c743975759d51c1fd05164f21593b5ab 100644
|
| --- a/src/codec/SkMaskSwizzler.h
|
| +++ b/src/codec/SkMaskSwizzler.h
|
| @@ -35,6 +35,15 @@ public:
|
| */
|
| SkSwizzler::ResultAlpha swizzle(void* dst, const uint8_t* SK_RESTRICT src);
|
|
|
| + /**
|
| + * Implement fill using a custom width.
|
| + */
|
| + void fill(const SkImageInfo& info, void* dst, size_t rowBytes, uint32_t colorOrIndex,
|
| + SkCodec::ZeroInitialized zeroInit) override {
|
| + const SkImageInfo fillInfo = info.makeWH(fDstWidth, info.height());
|
| + SkSampler::Fill(fillInfo, dst, rowBytes, colorOrIndex, zeroInit);
|
| + }
|
| +
|
| private:
|
|
|
| /*
|
|
|