Index: src/codec/SkWebpCodec.h |
diff --git a/src/codec/SkWebpCodec.h b/src/codec/SkWebpCodec.h |
index 97b3920ce9a4ea27e74c0737af613166e2ca2de6..5c0f0286f7cc14c49aab38f883834c110ea1ed47 100644 |
--- a/src/codec/SkWebpCodec.h |
+++ b/src/codec/SkWebpCodec.h |
@@ -15,11 +15,13 @@ |
class SkStream; |
+static const size_t WEBP_VP8_HEADER_SIZE = 30; |
+ |
class SkWebpCodec final : public SkCodec { |
public: |
// Assumes IsWebp was called and returned true. |
static SkCodec* NewFromStream(SkStream*); |
- static bool IsWebp(SkStream*); |
+ static bool IsWebp(const void*, size_t); |
protected: |
Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, SkPMColor*, int*, int*) |
override; |