| Index: include/core/SkImage.h
|
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h
|
| index ec855166195d863bd014156deda1bf03742f2451..d8938a91a3175da0d8026796155a9fed60446c3d 100644
|
| --- a/include/core/SkImage.h
|
| +++ b/include/core/SkImage.h
|
| @@ -8,6 +8,7 @@
|
| #ifndef SkImage_DEFINED
|
| #define SkImage_DEFINED
|
|
|
| +#include "SkEncodedFormat.h"
|
| #include "SkFilterQuality.h"
|
| #include "SkImageInfo.h"
|
| #include "SkImageEncoder.h"
|
| @@ -119,8 +120,7 @@ public:
|
| * If the image type cannot be encoded, or the requested encoder type is
|
| * not supported, this will return NULL.
|
| */
|
| - SkData* encode(SkImageEncoder::Type t = SkImageEncoder::kPNG_Type,
|
| - int quality = 80) const;
|
| + SkData* encode(SkEncodedFormat f = kPNG_SkEncodedFormat, int quality = 80) const;
|
|
|
| /**
|
| * Return a new surface that is compatible with this image's internal representation
|
|
|