aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColorFilter.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-11-03 14:45:31 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-03 19:54:08 +0000
commitfaba3715b8ddfaa0ce4df79bc8006e9bc7694e5b (patch)
tree7d12df48b54ebdb69209e784872831f32abbe30f /include/core/SkColorFilter.h
parent8b1fb741f196b78479b9d5bb2b33875aaa9709bb (diff)
remove unused code around SK_SUPPORT_LEGACY_XFERMODE_PARAM
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4384 Change-Id: I5121acd027d935ade169ff65941f29f654a47bd0 Reviewed-on: https://skia-review.googlesource.com/4384 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkColorFilter.h')
-rw-r--r--include/core/SkColorFilter.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
index fa6c9db972..346e721c92 100644
--- a/include/core/SkColorFilter.h
+++ b/include/core/SkColorFilter.h
@@ -34,7 +34,7 @@ public:
* returns true, and sets (if not NULL) the color and mode appropriately.
* If not, this returns false and ignores the parameters.
*/
- virtual bool asColorMode(SkColor* color, SK_XFERMODE_MODE_PARAM* mode) const;
+ virtual bool asColorMode(SkColor* color, SkBlendMode* bmode) const;
/**
* If the filter can be represented by a 5x4 matrix, this
@@ -116,11 +116,6 @@ public:
or NULL if the mode will have no effect.
*/
static sk_sp<SkColorFilter> MakeModeFilter(SkColor c, SkBlendMode mode);
-#ifdef SK_SUPPORT_LEGACY_XFERMODE_PARAM
- static sk_sp<SkColorFilter> MakeModeFilter(SkColor c, SkXfermode::Mode mode) {
- return MakeModeFilter(c, (SkBlendMode)mode);
- }
-#endif
/** Construct a colorfilter whose effect is to first apply the inner filter and then apply
* the outer filter to the result of the inner's.