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

Unified Diff: include/images/SkImageDecoder.h

Issue 14363003: Updates to skimage tool to use it for testing. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Remove fake support for GIF on Windows and remove a printf. Created 7 years, 8 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
Index: include/images/SkImageDecoder.h
diff --git a/include/images/SkImageDecoder.h b/include/images/SkImageDecoder.h
index 38e77f4df765e7139f0f2507f57fbd4e0c00ae23..81c17d71cc8519e4b130c2f27a3e42f62022f2f7 100644
--- a/include/images/SkImageDecoder.h
+++ b/include/images/SkImageDecoder.h
@@ -41,7 +41,8 @@ public:
};
/** Return the format of image this decoder can decode. If this decoder can decode multiple
- formats, kUnknown_Format will be returned.
+ formats, returns the format of the data that was most recently decoded successfully. Can
epoger 2013/04/19 21:35:16 This time-dependent, stateful behavior (return for
scroggo 2013/04/19 22:12:01 That seems reasonable to me. I used this behavior
scroggo 2013/04/22 22:10:15 Removed. Instead of this behavior, I've retained t
+ return kUnknown_Format.
*/
virtual Format getFormat() const;
« no previous file with comments | « gyp/tools.gyp ('k') | include/images/SkImageEncoder.h » ('j') | src/images/SkImageDecoder.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698