diff options
author | Mike Reed <reed@google.com> | 2017-07-26 17:40:53 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-26 22:10:10 +0000 |
commit | 7f97f49a840c92e26058034c631e8d76a54897bd (patch) | |
tree | 83fe30564c89699fa1a0107ca5c23c78e0ccbc96 /src/codec | |
parent | 154e6dadea0db8c72de1fe1e23718e2b6933a660 (diff) |
remove SK_SUPPORT_LEGACY_CODEC_NEW dead code
Bug: skia:
Change-Id: I59185b8acc00b6df854c613ba29d1002111fcb42
Reviewed-on: https://skia-review.googlesource.com/27240
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/SkCodec.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp index 09343e2dff..2b6108250c 100644 --- a/src/codec/SkCodec.cpp +++ b/src/codec/SkCodec.cpp @@ -617,12 +617,3 @@ std::vector<SkCodec::FrameInfo> SkCodec::getFrameInfo() { } return result; } - -#ifdef SK_SUPPORT_LEGACY_CODEC_NEW -SkCodec* SkCodec::NewFromStream(SkStream* str, Result* res, SkPngChunkReader* chunk) { - return MakeFromStream(std::unique_ptr<SkStream>(str), res, chunk).release(); -} -SkCodec* SkCodec::NewFromData(sk_sp<SkData> data, SkPngChunkReader* chunk) { - return MakeFromData(std::move(data), chunk).release(); -} -#endif |