Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: src/codec/SkCodec.cpp

Issue 2311793004: Use demux API in SkWebpCodec (Closed)
Patch Set: Fix test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/codec/SkWebpCodec.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkCodec.cpp
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp
index 3192a6f4be8ad6127d1e1ba63f21d70f976ba6ff..2372f4ce5b04457a921d0a82f4551f49e73c0b95 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.
scroggo 2016/09/07 17:33:04 So when we pass the stream from webp, we're not do
msarett 2016/09/07 17:36:30 True.
+ // They must handle rewinding themselves.
return true;
}
« no previous file with comments | « no previous file | src/codec/SkWebpCodec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698