diff options
author | Mike Reed <reed@google.com> | 2017-07-13 13:28:14 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-13 18:20:02 +0000 |
commit | 41ed7f33792c4c32b8444230b8b59cab5e29e45e (patch) | |
tree | 8da1b367fb9c60110daa881060e94ec6979d9386 /include | |
parent | 38a10ad434917681520cacb94050d14b2f24dd06 (diff) |
remove dead code for legacy image encode api
Bug: skia:
Change-Id: Ia90d776946281473c56cd93006df1b523475696a
Reviewed-on: https://skia-review.googlesource.com/23022
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-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 |