diff options
author | reed <reed@google.com> | 2016-02-19 13:38:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-19 13:38:53 -0800 |
commit | c5b1228141bd26d4573552a00ebeb0b85a4768df (patch) | |
tree | 88de22419c96dcbb9f74c95216015483e5a6bd12 /include | |
parent | 950fb1ca24cca9803eb29dc6aa5472b0f506a67f (diff) |
remove supports4f flag for colorfilters
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1720443002
Review URL: https://codereview.chromium.org/1720443002
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkColorFilter.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h index ea893e056f..4c9795c271 100644 --- a/include/core/SkColorFilter.h +++ b/include/core/SkColorFilter.h @@ -73,17 +73,12 @@ public: /** If set the filter methods will not change the alpha channel of the colors. */ kAlphaUnchanged_Flag = 1 << 0, - kSupports4f_Flag = 1 << 1, }; /** Returns the flags for this filter. Override in subclasses to return custom flags. */ virtual uint32_t getFlags() const { return 0; } - bool supports4f() const { - return SkToBool(this->getFlags() & kSupports4f_Flag); - } - /** * If this subclass can optimally createa composition with the inner filter, return it as * a new filter (which the caller must unref() when it is done). If no such optimization |