| Index: include/codec/SkAndroidCodec.h
|
| diff --git a/include/codec/SkAndroidCodec.h b/include/codec/SkAndroidCodec.h
|
| index e33116f9ba0c52f1fc665b34bcaf88a586c86ce0..f979886a43ec33c573de3553b49651a8a06d7025 100644
|
| --- a/include/codec/SkAndroidCodec.h
|
| +++ b/include/codec/SkAndroidCodec.h
|
| @@ -23,18 +23,24 @@ public:
|
| * If this stream represents an encoded image that we know how to decode,
|
| * return an SkAndroidCodec that can decode it. Otherwise return NULL.
|
| *
|
| + * The SkPngChunkReader handles unknown chunks in PNGs.
|
| + * See SkCodec.h for more details.
|
| + *
|
| * If NULL is returned, the stream is deleted immediately. Otherwise, the
|
| * SkCodec takes ownership of it, and will delete it when done with it.
|
| */
|
| - static SkAndroidCodec* NewFromStream(SkStream*);
|
| + static SkAndroidCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
|
|
|
| /**
|
| * If this data represents an encoded image that we know how to decode,
|
| * return an SkAndroidCodec that can decode it. Otherwise return NULL.
|
| *
|
| + * The SkPngChunkReader handles unknown chunks in PNGs.
|
| + * See SkCodec.h for more details.
|
| + *
|
| * Will take a ref if it returns a codec, else will not affect the data.
|
| */
|
| - static SkAndroidCodec* NewFromData(SkData*);
|
| + static SkAndroidCodec* NewFromData(SkData*, SkPngChunkReader* = NULL);
|
|
|
| virtual ~SkAndroidCodec() {}
|
|
|
|
|