aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPixmap.h')
-rw-r--r--include/core/SkPixmap.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h
index 1ea011b348..c703386d1f 100644
--- a/include/core/SkPixmap.h
+++ b/include/core/SkPixmap.h
@@ -12,9 +12,6 @@
#include "SkFilterQuality.h"
#include "SkImageInfo.h"
-#ifdef SK_SUPPORT_LEGACY_COLORTABLE
-class SkColorTable;
-#endif
class SkData;
struct SkMask;
@@ -210,17 +207,6 @@ public:
bool erase(SkColor color) const { return this->erase(color, this->bounds()); }
bool erase(const SkColor4f&, const SkIRect* subset = nullptr) const;
-#ifdef SK_SUPPORT_LEGACY_COLORTABLE
- SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes, SkColorTable*)
- : fPixels(addr), fRowBytes(rowBytes), fInfo(info)
- {}
- void reset(const SkImageInfo& info, const void* addr, size_t rowBytes,
- SkColorTable*) {
- this->reset(info, addr, rowBytes);
- }
- SkColorTable* ctable() const { return nullptr; }
-#endif
-
private:
const void* fPixels;
size_t fRowBytes;