remove unused parts of SkModeColorFilter
Change-Id: Iaa2d1087b3211ec427d8260fb6d7f80a87c5f480 Reviewed-on: https://skia-review.googlesource.com/140983 Commit-Queue: Mike Klein <mtklein@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: Mike Klein <mtklein@chromium.org> Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
bb5b7588d6
commit
d9c2e522dd
@ -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 {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user