diff options
author | msarett <msarett@google.com> | 2015-12-04 05:43:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-04 05:43:09 -0800 |
commit | 1603e9310f62cf0dd543cdb09dea06aa78373f13 (patch) | |
tree | 5ef44b26dbdec877f35834a79c0e6408e7518d9e /include/codec | |
parent | bbf2ce4b06bce1d5b70529b2fe08c159c1a93704 (diff) |
Make SkAndroidCodec support ico
BUG=skia:
Review URL: https://codereview.chromium.org/1472933002
Diffstat (limited to 'include/codec')
-rw-r--r-- | include/codec/SkCodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index 075f97680d..c0625ffb9b 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -400,6 +400,8 @@ public: /** * An enum representing the order in which scanlines will be returned by * the scanline decoder. + * + * This is undefined before startScanlineDecode() is called. */ SkScanlineOrder getScanlineOrder() const { return this->onGetScanlineOrder(); } @@ -618,5 +620,6 @@ private: virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr; } friend class SkSampledCodec; + friend class SkIcoCodec; }; #endif // SkCodec_DEFINED |