Index: src/codec/SkJpegCodec.h |
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
index 687cf4b4b8a4feaeab7d9264dce5a2cd5631e3b8..500fad37eb300f62874e412277db2bcafc929600 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 char*, size_t); |
/* |
* Assumes IsJpeg was called and returned true |