diff options
Diffstat (limited to 'src/codec/SkBmpRLECodec.h')
-rw-r--r-- | src/codec/SkBmpRLECodec.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/codec/SkBmpRLECodec.h b/src/codec/SkBmpRLECodec.h index 5f348618a9..7cb3e9b292 100644 --- a/src/codec/SkBmpRLECodec.h +++ b/src/codec/SkBmpRLECodec.h @@ -95,23 +95,23 @@ private: SkSampler* getSampler(bool createIfNecessary) override; - SkAutoTUnref<SkColorTable> fColorTable; // owned + sk_sp<SkColorTable> fColorTable; // fNumColors is the number specified in the header, or 0 if not present in the header. - const uint32_t fNumColors; - const uint32_t fBytesPerColor; - const uint32_t fOffset; - std::unique_ptr<uint8_t[]> fStreamBuffer; - size_t fRLEBytes; - const size_t fOrigRLEBytes; - uint32_t fCurrRLEByte; - int fSampleX; - std::unique_ptr<SkSampler> fSampler; + const uint32_t fNumColors; + const uint32_t fBytesPerColor; + const uint32_t fOffset; + std::unique_ptr<uint8_t[]> fStreamBuffer; + size_t fRLEBytes; + const size_t fOrigRLEBytes; + uint32_t fCurrRLEByte; + int fSampleX; + std::unique_ptr<SkSampler> fSampler; // Scanline decodes allow the client to ask for a single scanline at a time. // This can be tricky when the RLE encoding instructs the decoder to jump down // multiple lines. This field keeps track of lines that need to be skipped // on subsequent calls to decodeRows(). - int fLinesToSkip; + int fLinesToSkip; typedef SkBmpCodec INHERITED; }; |