aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColorFilter.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-10-20 16:40:26 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-20 21:08:50 +0000
commit958788ab461bf84e8c604a17dba5ebc2d6c27dfa (patch)
treed53ea7a59c21c26ea68f3bc830522d8a28f20002 /include/core/SkColorFilter.h
parentc83ada98e2e60be75ae03e228c4d35eb45357add (diff)
remove 4 legacy flags (clients already updated)
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3785 Change-Id: I187e50e09ed7a3316719fae51af770259928fdf9 Reviewed-on: https://skia-review.googlesource.com/3785 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkColorFilter.h')
-rw-r--r--include/core/SkColorFilter.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
index 5a23a343a2..485739842a 100644
--- a/include/core/SkColorFilter.h
+++ b/include/core/SkColorFilter.h
@@ -134,21 +134,6 @@ public:
*/
static sk_sp<SkColorFilter> MakeMatrixFilterRowMajor255(const SkScalar array[20]);
-#ifdef SK_SUPPORT_LEGACY_COLORFILTER_PTR
- static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode) {
- return MakeModeFilter(c, mode).release();
- }
- static SkColorFilter* CreateComposeFilter(SkColorFilter* outer, SkColorFilter* inner) {
- return MakeComposeFilter(sk_ref_sp(outer), sk_ref_sp(inner)).release();
- }
- static SkColorFilter* CreateMatrixFilterRowMajor255(const SkScalar array[20]) {
- return MakeMatrixFilterRowMajor255(array).release();
- }
- virtual SkColorFilter* newComposed(const SkColorFilter* inner) const {
- return this->makeComposed(sk_ref_sp(const_cast<SkColorFilter*>(inner))).release();
- }
-#endif
-
#if SK_SUPPORT_GPU
/**
* A subclass may implement this factory function to work with the GPU backend. It returns