diff options
author | msarett <msarett@google.com> | 2016-09-07 11:23:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-07 11:23:28 -0700 |
commit | ff2a6c8a70d5f7e3be99ef41c75412878785edcb (patch) | |
tree | 2e2e288a925931389d40adf2884a05537d20d549 /src/codec/SkCodec.cpp | |
parent | ffac5c4aae18fc706e4077763c190a89c8507fb0 (diff) |
Use demux API in SkWebpCodec
* Necessary to read ICC profiles
* Will be necessary to implement animation
* Requires consolidated data with length
Doesn't affect decode performance (thought I believe
our performance tests only cover SkStreams with memory
bases).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2311793004
Review-Url: https://codereview.chromium.org/2311793004
Diffstat (limited to 'src/codec/SkCodec.cpp')
-rw-r--r-- | src/codec/SkCodec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp index 3192a6f4be..2372f4ce5b 100644 --- a/src/codec/SkCodec.cpp +++ b/src/codec/SkCodec.cpp @@ -142,8 +142,8 @@ SkCodec::~SkCodec() {} bool SkCodec::rewindIfNeeded() { if (!fStream) { - // Some codecs do not have a stream, but they hold others that do. They - // must handle rewinding themselves. + // Some codecs do not have a stream. They may hold onto their own data or another codec. + // They must handle rewinding themselves. return true; } |