diff options
Diffstat (limited to 'include/core/SkColorFilter.h')
-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 |