diff options
author | Mike Reed <reed@google.com> | 2016-12-08 13:41:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-08 19:25:49 +0000 |
commit | df8599ac246515b4e7ea8ed0285e4b416b8bc570 (patch) | |
tree | b4a837719319cf9a2606ccd60207b830cadb8941 /src/codec | |
parent | fc6d9e95407293fbbabb0388ebbe311403a896bc (diff) |
remove SK_SUPPORT_LEGACY_REFENCODEDDATA_NOCTX flag
BUG=skia:
Change-Id: I51b7778db8b596b2633b6be9488af984cee2af70
Reviewed-on: https://skia-review.googlesource.com/5713
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/SkCodecImageGenerator.cpp | 2 | ||||
-rw-r--r-- | src/codec/SkCodecImageGenerator.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/codec/SkCodecImageGenerator.cpp b/src/codec/SkCodecImageGenerator.cpp index 9f85971f89..447332b2c7 100644 --- a/src/codec/SkCodecImageGenerator.cpp +++ b/src/codec/SkCodecImageGenerator.cpp @@ -30,7 +30,7 @@ SkCodecImageGenerator::SkCodecImageGenerator(SkCodec* codec, sk_sp<SkData> data) , fData(std::move(data)) {} -SkData* SkCodecImageGenerator::onRefEncodedData(SK_REFENCODEDDATA_CTXPARAM) { +SkData* SkCodecImageGenerator::onRefEncodedData(GrContext* ctx) { return SkRef(fData.get()); } diff --git a/src/codec/SkCodecImageGenerator.h b/src/codec/SkCodecImageGenerator.h index 3abc9089d4..222923b295 100644 --- a/src/codec/SkCodecImageGenerator.h +++ b/src/codec/SkCodecImageGenerator.h @@ -21,7 +21,7 @@ public: } protected: - SkData* onRefEncodedData(SK_REFENCODEDDATA_CTXPARAM) override; + SkData* onRefEncodedData(GrContext* ctx) override; bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctable[], int* ctableCount) override; |