diff options
Diffstat (limited to 'include/core/SkMallocPixelRef.h')
-rw-r--r-- | include/core/SkMallocPixelRef.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h index 07a5483e25..dce3c0ecbb 100644 --- a/include/core/SkMallocPixelRef.h +++ b/include/core/SkMallocPixelRef.h @@ -9,9 +9,6 @@ #define SkMallocPixelRef_DEFINED #include "SkPixelRef.h" -#ifdef SK_SUPPORT_LEGACY_COLORTABLE - #include "SkData.h" -#endif /** We explicitly use the same allocator for our pixels that SkMask does, so that we can freely assign memory allocated by one class to the other. @@ -71,31 +68,6 @@ public: */ static sk_sp<SkPixelRef> MakeWithData(const SkImageInfo&, size_t rowBytes, sk_sp<SkData> data); -#ifdef SK_SUPPORT_LEGACY_COLORTABLE - static sk_sp<SkPixelRef> MakeDirect(const SkImageInfo& info, void* addr, - size_t rowBytes, sk_sp<SkColorTable>) { - return MakeDirect(info, addr, rowBytes); - } - static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo& info, size_t rb, sk_sp<SkColorTable>) { - return MakeAllocate(info, rb); - } - static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo& info, size_t rb, sk_sp<SkColorTable>) { - return MakeZeroed(info, rb); - } - static sk_sp<SkPixelRef> MakeWithProc(const SkImageInfo& info, - size_t rowBytes, sk_sp<SkColorTable>, - void* addr, ReleaseProc proc, - void* context) { - return MakeWithProc(info, rowBytes, addr, proc, context); - } - static sk_sp<SkPixelRef> MakeWithData(const SkImageInfo& info, - size_t rowBytes, - sk_sp<SkColorTable>, - sk_sp<SkData> data) { - return MakeWithData(info, rowBytes, data); - } -#endif - protected: ~SkMallocPixelRef() override; |