Index: include/images/SkImageEncoder.h |
diff --git a/include/images/SkImageEncoder.h b/include/images/SkImageEncoder.h |
index 3fbfefa5f7f6425bb5c2fa8cf04bd65c1d1077d1..d4d71695654b0a00182b673520abcb69d879aa30 100644 |
--- a/include/images/SkImageEncoder.h |
+++ b/include/images/SkImageEncoder.h |
@@ -17,7 +17,8 @@ class SkImageEncoder { |
public: |
enum Type { |
kJPEG_Type, |
- kPNG_Type |
+ kPNG_Type, |
+ kWEBP_Type |
}; |
static SkImageEncoder* Create(Type); |
@@ -80,5 +81,6 @@ protected: |
// not all of these will be available |
DECLARE_ENCODER_CREATOR(JPEGImageEncoder); |
DECLARE_ENCODER_CREATOR(PNGImageEncoder); |
+DECLARE_ENCODER_CREATOR(WEBPImageEncoder); |
#endif |