Chromium Code Reviews| 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; |