| Index: src/codec/SkCodec_libpng.h
|
| diff --git a/src/codec/SkCodec_libpng.h b/src/codec/SkCodec_libpng.h
|
| index b255449fb535fbb3268597bbcdbca2805ed2fba9..debb14b882b8914d96011c1822afc0bcc7a9e600 100644
|
| --- a/src/codec/SkCodec_libpng.h
|
| +++ b/src/codec/SkCodec_libpng.h
|
| @@ -6,6 +6,7 @@
|
| */
|
|
|
| #include "SkCodec.h"
|
| +#include "SkEncodedFormat.h"
|
| #include "SkImageInfo.h"
|
|
|
| extern "C" {
|
| @@ -24,6 +25,7 @@ public:
|
| protected:
|
| Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, SkPMColor*, int*)
|
| SK_OVERRIDE;
|
| + SkEncodedFormat onGetEncodedFormat() const SK_OVERRIDE { return kPNG_SkEncodedFormat; }
|
| private:
|
| png_structp fPng_ptr;
|
| png_infop fInfo_ptr;
|
|
|