Index: include/core/SkColorFilter.h |
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h |
index 57650fbd98597a3f16fdf76f05c605dde8c18a6a..e89b2b1e4f30ed57c84add44832ce6f5cbb87c47 100644 |
--- a/include/core/SkColorFilter.h |
+++ b/include/core/SkColorFilter.h |
@@ -106,11 +106,7 @@ public: |
*/ |
static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode); |
- /** Create a colorfilter that multiplies the RGB channels by one color, and |
- then adds a second color, pinning the result for each component to |
- [0..255]. The alpha components of the mul and add arguments |
- are ignored. |
- */ |
+ // 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 |