diff options
Diffstat (limited to 'include/core/SkPixelRef.h')
-rw-r--r-- | include/core/SkPixelRef.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 4613209f06..5055c04367 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -40,7 +40,7 @@ public: int width() const { return fWidth; } int height() const { return fHeight; } void* pixels() const { return fPixels; } - SkColorTable* colorTable() const { return fCTable.get(); } + SkColorTable* colorTable() const { return nullptr; } size_t rowBytes() const { return fRowBytes; } /** Returns a non-zero, unique value corresponding to the pixels in this @@ -115,7 +115,6 @@ protected: private: int fWidth; int fHeight; - sk_sp<SkColorTable> fCTable; void* fPixels; size_t fRowBytes; |