aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r--include/core/SkImage.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 625d0a0b63..8c73eebb15 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -276,11 +276,6 @@ public:
* even if the image returns a data from refEncoded(). That data will be ignored.
*/
SkData* encode(SkEncodedImageFormat, int quality) const;
-#ifdef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS
- SkData* encode(SkImageEncoder::Type t, int quality) const {
- return this->encode((SkEncodedImageFormat)t, quality);
- }
-#endif
/**
* Encode the image and return the result as a caller-managed SkData. This will