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:
Mike Klein 2018-07-12 10:28:30 -04:00 committed by Skia Commit-Bot
parent bb5b7588d6
commit d9c2e522dd
2 changed files with 0 additions and 7 deletions

View File

@ -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 {

View File

@ -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;