remove CreateLightingFilter from SkColorFilter
All callers have converted over to SkColorMatrixFilter
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1583923002
Review URL: https://codereview.chromium.org/1583923002
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
index e89b2b1..c5d084a 100644
--- a/include/core/SkColorFilter.h
+++ b/include/core/SkColorFilter.h
@@ -106,9 +106,6 @@
*/
static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode);
- // DEPRECATED -- call this from SkColorMatrixFilter instead -- see skbug.com/4791
- static SkColorFilter* CreateLightingFilter(SkColor mul, SkColor add);
-
/** 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.
* The reference counts for outer and inner are incremented.
diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp
index f24670e..ce6ca55 100644
--- a/src/effects/SkColorMatrixFilter.cpp
+++ b/src/effects/SkColorMatrixFilter.cpp
@@ -362,8 +362,3 @@
0);
return SkColorMatrixFilter::Create(matrix);
}
-
-// DEPRECTED -- remove this when chrome/android stop calling it
-SkColorFilter* SkColorFilter::CreateLightingFilter(SkColor mul, SkColor add) {
- return SkColorMatrixFilter::CreateLightingFilter(mul, add);
-}