diff options
Diffstat (limited to 'include/core/SkPixelRef.h')
-rw-r--r-- | include/core/SkPixelRef.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 25a8d52540..b14cbdf20e 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -19,9 +19,6 @@ #include "SkSize.h" #include "SkString.h" -#ifdef SK_SUPPORT_LEGACY_COLORTABLE -class SkColorTable; -#endif struct SkIRect; class GrTexture; @@ -102,19 +99,11 @@ public: virtual SkDiscardableMemory* diagnostic_only_getDiscardable() const { return NULL; } -#ifdef SK_SUPPORT_LEGACY_COLORTABLE - SkPixelRef(int width, int height, void* addr, size_t rowBytes, sk_sp<SkColorTable>); - SkColorTable* colorTable() const { return nullptr; } -#endif protected: // default impl does nothing. virtual void onNotifyPixelsChanged(); -#ifdef SK_SUPPORT_LEGACY_COLORTABLE - void android_only_reset(int width, int height, size_t rowBytes, sk_sp<SkColorTable>); -#else void android_only_reset(int width, int height, size_t rowBytes); -#endif private: int fWidth; |