aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkEncodedImageFormat.h3
-rw-r--r--include/core/SkImageEncoder.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkEncodedImageFormat.h b/include/core/SkEncodedImageFormat.h
index eb714f3d42..8f79236689 100644
--- a/include/core/SkEncodedImageFormat.h
+++ b/include/core/SkEncodedImageFormat.h
@@ -14,6 +14,9 @@
* Enum describing format of encoded data.
*/
enum class SkEncodedImageFormat {
+#ifdef GOOGLE3
+ kUnknown,
+#endif
kBMP,
kGIF,
kICO,
diff --git a/include/core/SkImageEncoder.h b/include/core/SkImageEncoder.h
index eb6ce657ba..1d928aed69 100644
--- a/include/core/SkImageEncoder.h
+++ b/include/core/SkImageEncoder.h
@@ -47,6 +47,9 @@ inline bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFor
class SkImageEncoder {
public:
enum Type {
+#ifdef GOOGLE3
+ kUnknown_Type = (uint8_t)SkEncodedImageFormat::kUnknown,
+#endif
kBMP_Type = (uint8_t)SkEncodedImageFormat::kBMP,
kGIF_Type = (uint8_t)SkEncodedImageFormat::kGIF,
kICO_Type = (uint8_t)SkEncodedImageFormat::kICO,