aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMallocPixelRef.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-04-24 22:48:00 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-27 14:45:53 +0000
commite51125557f28c2fc3dfbf4a8553a7c06bc1a0286 (patch)
tree33a8b0fb47879d70324fa2da427ea41edbf574f7 /include/core/SkMallocPixelRef.h
parent4f7d97c16fd159f72d2ad9c105542e2c6c097ad6 (diff)
remove legacy code
Bug: skia: Change-Id: I719f68489e9295ec652ccb04de3b10632df534fa Reviewed-on: https://skia-review.googlesource.com/14226 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkMallocPixelRef.h')
-rw-r--r--include/core/SkMallocPixelRef.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h
index e378da77ee..45ab6547f4 100644
--- a/include/core/SkMallocPixelRef.h
+++ b/include/core/SkMallocPixelRef.h
@@ -74,29 +74,6 @@ public:
size_t rowBytes,
sk_sp<SkColorTable>,
sk_sp<SkData> data);
-
-#ifdef SK_SUPPORT_LEGACY_PIXELREFFACTORY
- static SkMallocPixelRef* NewDirect(const SkImageInfo& info, void* addr,
- size_t rowBytes, SkColorTable* ctable) {
- return (SkMallocPixelRef*)MakeDirect(info, addr, rowBytes, sk_ref_sp(ctable)).release();
- }
- static SkMallocPixelRef* NewAllocate(const SkImageInfo& info, size_t rb, SkColorTable* ct) {
- return (SkMallocPixelRef*)MakeAllocate(info, rb, sk_ref_sp(ct)).release();
- }
- static SkMallocPixelRef* NewZeroed(const SkImageInfo& info, size_t rowBytes, SkColorTable* ct) {
- return (SkMallocPixelRef*)MakeZeroed(info, rowBytes, sk_ref_sp(ct)).release();
- }
- static SkMallocPixelRef* NewWithProc(const SkImageInfo& info,
- size_t rowBytes, SkColorTable* ctable,
- void* addr, ReleaseProc proc,
- void* ctx) {
- return (SkMallocPixelRef*)MakeWithProc(info, rowBytes, sk_ref_sp(ctable), addr, proc, ctx).release();
- }
- static SkMallocPixelRef* NewWithData(const SkImageInfo& info,
- size_t rowBytes,
- SkColorTable* ctable,
- SkData* data);
-#endif
protected:
~SkMallocPixelRef() override;