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

Unified Diff: include/codec/SkCodec.h

Issue 1006583005: SkCodec: add wbmp class (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-03-26 (Thursday) 13:10:30 EDT Created 5 years, 9 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/codec/SkCodec.h
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index 5a69d1367d69444423c736cbbfbfc0e259c6180f..cb616ccc030dfc119e0ac47ac3d357a4a49b3f02 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -144,11 +144,13 @@ protected:
* - if the stream did not need to be rewound.
* false
* - if the stream needed to be rewound, and rewind failed.
+ * @param didTryToRewind iff non-NULL, will be set.
+ *
* Subclasses MUST call this function before reading the stream (e.g. in
* onGetPixels). If it returns false, onGetPixels should return
* kCouldNotRewind.
*/
- bool SK_WARN_UNUSED_RESULT rewindIfNeeded();
+ bool SK_WARN_UNUSED_RESULT rewindIfNeeded(bool* didTryToRewind = NULL);
/*
*
« no previous file with comments | « gyp/codec.gyp ('k') | resources/mandrill.wbmp » ('j') | src/codec/SkCodec_wbmp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698