Chromium Code Reviews| Index: include/codec/SkCodec.h |
| diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h |
| index dffab6b3779207aeba99084810afb27d8416a097..17ebb23a33c4b1300ba1497451a0ce49902e4401 100644 |
| --- a/include/codec/SkCodec.h |
| +++ b/include/codec/SkCodec.h |
| @@ -521,6 +521,8 @@ protected: |
| virtual int onOutputScanline(int inputScanline) const; |
| + int currScanline() const { return fCurrScanline; } |
| + |
| private: |
| const SkImageInfo fSrcInfo; |
| SkAutoTDelete<SkStream> fStream; |
| @@ -592,5 +594,6 @@ private: |
| virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr; } |
| friend class SkSampledCodec; |
| + friend class SkIcoCodec; |
|
msarett
2015/11/24 22:43:35
SkIcoCodec has to call fCodec->getSampler().
|
| }; |
| #endif // SkCodec_DEFINED |