diff options
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkImage.h | 6 | ||||
-rw-r--r-- | include/core/SkPixelSerializer.h | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index 862dc6691e..f63ba41fea 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -390,12 +390,6 @@ public: */ sk_sp<SkData> refEncodedData() const; -#ifdef SK_SUPPORT_LEGACY_IMAGE_ENCODE_API - SkData* encode(SkEncodedImageFormat, int quality) const; - SkData* encode(SkPixelSerializer* = nullptr) const; - SkData* refEncoded() const; -#endif - const char* toString(SkString*) const; /** diff --git a/include/core/SkPixelSerializer.h b/include/core/SkPixelSerializer.h index c3cbc0ad01..28d5f5d2e6 100644 --- a/include/core/SkPixelSerializer.h +++ b/include/core/SkPixelSerializer.h @@ -35,10 +35,6 @@ public: return sk_sp<SkData>(this->onEncode(pixmap)); } -#ifdef SK_SUPPORT_LEGACY_IMAGE_ENCODE_API - SkData* encode(const SkPixmap& pixmap); -#endif - protected: /** * Return true if you want to serialize the encoded data, false if you want |