Index: src/core/SkPixelSerializer.cpp |
diff --git a/src/core/SkPixelSerializer.cpp b/src/core/SkPixelSerializer.cpp |
deleted file mode 100644 |
index a694bbe8464db42bfda3f5987fb9b59c54a37b56..0000000000000000000000000000000000000000 |
--- a/src/core/SkPixelSerializer.cpp |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-/* |
- * Copyright 2015 Google Inc. |
- * |
- * Use of this source code is governed by a BSD-style license that can be |
- * found in the LICENSE file. |
- */ |
- |
-#include "SkPixelSerializer.h" |
- |
-SkData* SkPixelSerializer::reencodeData(SkData* encoded) { |
- return encoded ? this->onReencodeData(encoded) : nullptr; |
-} |
- |
-SkData* SkPixelSerializer::encodePixels(const SkImageInfo& info, const void* pixels, |
- size_t rowBytes) { |
- if (kUnknown_SkColorType == info.colorType() || !pixels) { |
- return nullptr; |
- } |
- return this->onEncodePixels(info, pixels, rowBytes); |
-} |
- |
-SkData* SkPixelSerializer::encodePixels(const SkPixmap& pixmap) { |
- return this->encodePixels(pixmap.info(), pixmap.addr(), pixmap.rowBytes()); |
-} |