Index: src/codec/SkJpegCodec.h |
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
index 687cf4b4b8a4feaeab7d9264dce5a2cd5631e3b8..ed94b613f9fcbd2374cc6b171738d45b01fac6b0 100644 |
--- a/src/codec/SkJpegCodec.h |
+++ b/src/codec/SkJpegCodec.h |
@@ -25,12 +25,7 @@ extern "C" { |
*/ |
class SkJpegCodec : public SkCodec { |
public: |
- |
- /* |
- * Checks the start of the stream to see if the image is a jpeg |
- * Does not take ownership of the stream |
- */ |
- static bool IsJpeg(SkStream*); |
+ static bool IsJpeg(const void*, size_t); |
/* |
* Assumes IsJpeg was called and returned true |