Index: src/codec/SkCodec_libgif.h |
diff --git a/src/codec/SkCodec_libgif.h b/src/codec/SkCodec_libgif.h |
index de59c6c32a4d1f511a14571c8f3213d60294e935..b1ee9c9c3a7c3b5453ed2fdf87cdd45a56ebd5a7 100644 |
--- a/src/codec/SkCodec_libgif.h |
+++ b/src/codec/SkCodec_libgif.h |
@@ -34,6 +34,14 @@ public: |
protected: |
/* |
+ * Read enough of the stream to initialize the SkGifCodec. |
+ * Returns a bool representing success or failure. |
+ * If it returned true, and codecOut was not NULL, |
+ * it will be set to a new SkGifCodec. |
+ */ |
+ static bool ReadHeader(SkStream*, SkCodec** codecOut); |
+ |
+ /* |
* Initiates the gif decode |
*/ |
Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, |