aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/effects/SkArithmeticImageFilter.h4
-rw-r--r--include/effects/SkXfermodeImageFilter.h8
2 files changed, 1 insertions, 11 deletions
diff --git a/include/effects/SkArithmeticImageFilter.h b/include/effects/SkArithmeticImageFilter.h
index ef596030a7..a8b7100abb 100644
--- a/include/effects/SkArithmeticImageFilter.h
+++ b/include/effects/SkArithmeticImageFilter.h
@@ -16,10 +16,6 @@ public:
sk_sp<SkImageFilter> background,
sk_sp<SkImageFilter> foreground,
const SkImageFilter::CropRect* cropRect);
- static sk_sp<SkImageFilter> Make(float k1, float k2, float k3, float k4, bool enforcePMColor,
- sk_sp<SkImageFilter> background) {
- return Make(k1, k2, k3, k4, enforcePMColor, std::move(background), nullptr, nullptr);
- }
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();
diff --git a/include/effects/SkXfermodeImageFilter.h b/include/effects/SkXfermodeImageFilter.h
index 5e8b587241..147995081c 100644
--- a/include/effects/SkXfermodeImageFilter.h
+++ b/include/effects/SkXfermodeImageFilter.h
@@ -25,8 +25,7 @@ public:
return Make(mode, std::move(background), nullptr, nullptr);
}
- // Arithmetic image filtering used to be implemented using SkXfermode. Some clients still rely
- // on these factories existing in this class.
+ // Need to update chrome to use SkArithmeticImageFilter instead...
static sk_sp<SkImageFilter> MakeArithmetic(float k1, float k2, float k3, float k4,
bool enforcePMColor, sk_sp<SkImageFilter> background,
sk_sp<SkImageFilter> foreground,
@@ -34,11 +33,6 @@ public:
return SkArithmeticImageFilter::Make(k1, k2, k3, k4, enforcePMColor, std::move(background),
std::move(foreground), cropRect);
}
- static sk_sp<SkImageFilter> MakeArithmetic(float k1, float k2, float k3, float k4,
- bool enforcePMColor,
- sk_sp<SkImageFilter> background) {
- return SkArithmeticImageFilter::Make(k1, k2, k3, k4, enforcePMColor, std::move(background));
- }
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();