rm getFlags() from colorfilter -- deprecated

Change-Id: Ic85e627111baee1bdf9eba64a3ad78c496f2d116
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383916
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2021-03-11 16:56:35 -05:00 committed by Skia Commit-Bot
parent 3a94d9285e
commit 21ce89dd53

View File

@ -24,12 +24,6 @@ class SkColorMatrix;
*/
class SK_API SkColorFilter : public SkFlattenable {
public:
// deprecated, use isAlphaUnchanged()
enum Flags {
kAlphaUnchanged_Flag = 1 << 0,
};
uint32_t getFlags() const { return this->isAlphaUnchanged() ? kAlphaUnchanged_Flag : 0; }
/** If the filter can be represented by a source color plus Mode, this
* returns true, and sets (if not NULL) the color and mode appropriately.
* If not, this returns false and ignores the parameters.