Index: src/ports/SkImageDecoder_empty.cpp |
diff --git a/src/ports/SkImageDecoder_empty.cpp b/src/ports/SkImageDecoder_empty.cpp |
index 94d4eb51de9ef16f525fbde5e37bfbaa35b39f77..11c3db1afc519bb0639abd62c08cb7dae93552f1 100644 |
--- a/src/ports/SkImageDecoder_empty.cpp |
+++ b/src/ports/SkImageDecoder_empty.cpp |
@@ -108,10 +108,6 @@ |
return nullptr; |
} |
-static SkData* SkImageEncoder::EncodeData(const SkPixmap&, Type, int) { |
- return nullptr; |
-} |
- |
bool SkImageEncoder::encodeStream(SkWStream*, const SkBitmap&, int) { |
return false; |
} |
@@ -123,17 +119,4 @@ |
bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quality) { |
return false; |
} |
- |
-namespace { |
-class ImageEncoderPixelSerializer final : public SkPixelSerializer { |
-protected: |
- bool onUseEncodedData(const void*, size_t) override { return true; } |
- SkData* onEncode(const SkPixmap& pmap) override { return nullptr; } |
-}; |
-} // namespace |
- |
-SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() { |
- return new ImageEncoderPixelSerializer; |
-} |
- |
///////////////////////////////////////////////////////////////////////// |