diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkModeColorFilter.cpp | 2 | ||||
-rw-r--r-- | src/core/SkModeColorFilter.h | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkModeColorFilter.cpp b/src/core/SkModeColorFilter.cpp index 7e1e26e91a..f02a296ab2 100644 --- a/src/core/SkModeColorFilter.cpp +++ b/src/core/SkModeColorFilter.cpp @@ -27,8 +27,6 @@ SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { fColor = color; fMode = mode; - // cache - fPMColor = SkPreMultiplyColor(fColor); } bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const { diff --git a/src/core/SkModeColorFilter.h b/src/core/SkModeColorFilter.h index c78d7897bf..138b00e30d 100644 --- a/src/core/SkModeColorFilter.h +++ b/src/core/SkModeColorFilter.h @@ -17,9 +17,6 @@ public: return sk_sp<SkColorFilter>(new SkModeColorFilter(color, mode)); } - SkColor getColor() const { return fColor; } - SkPMColor getPMColor() const { return fPMColor; } - bool asColorMode(SkColor*, SkBlendMode*) const override; uint32_t getFlags() const override; @@ -46,8 +43,6 @@ private: SkColor fColor; SkBlendMode fMode; - // cache - SkPMColor fPMColor; friend class SkColorFilter; |