Index: gm/colorfilters.cpp |
diff --git a/gm/colorfilters.cpp b/gm/colorfilters.cpp |
index 2d220d2c1d3ace23d7b68e71505b17f8d7ef9c8c..dcd24d9ce431536dbcd1a84b319985de86f5edb4 100644 |
--- a/gm/colorfilters.cpp |
+++ b/gm/colorfilters.cpp |
@@ -7,7 +7,7 @@ |
#include "gm.h" |
#include "SkCanvas.h" |
-#include "SkColorFilter.h" |
+#include "SkColorMatrixFilter.h" |
#include "SkGradientShader.h" |
static SkShader* make_shader(const SkRect& bounds) { |
@@ -31,7 +31,7 @@ static void install_nothing(SkPaint* paint, uint32_t, uint32_t) { |
} |
static void install_lighting(SkPaint* paint, uint32_t mul, uint32_t add) { |
- paint->setColorFilter(SkColorFilter::CreateLightingFilter(mul, add))->unref(); |
+ paint->setColorFilter(SkColorMatrixFilter::CreateLightingFilter(mul, add))->unref(); |
} |
class ColorFiltersGM : public skiagm::GM { |