aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-12-04 05:43:09 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-04 05:43:09 -0800
commit1603e9310f62cf0dd543cdb09dea06aa78373f13 (patch)
tree5ef44b26dbdec877f35834a79c0e6408e7518d9e /include/codec
parentbbf2ce4b06bce1d5b70529b2fe08c159c1a93704 (diff)
Make SkAndroidCodec support ico
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkCodec.h3
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