Index: samplecode/SampleAll.cpp |
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp |
index 21d93bd8ae5e47276239739976f2534d443afb78..ad3181f7cd57ccc064efd4dfdf3de884fe661692 100644 |
--- a/samplecode/SampleAll.cpp |
+++ b/samplecode/SampleAll.cpp |
@@ -12,7 +12,7 @@ |
#include "Sk1DPathEffect.h" |
#include "Sk2DPathEffect.h" |
#include "SkBlurMaskFilter.h" |
-#include "SkColorFilter.h" |
+#include "SkColorMatrixFilter.h" |
#include "SkColorPriv.h" |
#include "SkCornerPathEffect.h" |
#include "SkDashPathEffect.h" |
@@ -385,7 +385,7 @@ protected: |
SkMaskFilter* embossFilter = SkEmbossMaskFilter::Create(sigma, light); |
SkXfermode* xfermode = SkXfermode::Create(SkXfermode::kXor_Mode); |
- SkColorFilter* lightingFilter = SkColorFilter::CreateLightingFilter( |
+ SkColorFilter* lightingFilter = SkColorMatrixFilter::CreateLightingFilter( |
0xff89bc45, 0xff112233); |
canvas->save(); |
@@ -551,7 +551,7 @@ protected: |
#if 01 |
int index = i % SK_ARRAY_COUNT(gLightingColors); |
- paint.setColorFilter(SkColorFilter::CreateLightingFilter( |
+ paint.setColorFilter(SkColorMatrixFilter::CreateLightingFilter( |
gLightingColors[index].fMul, |
gLightingColors[index].fAdd))->unref(); |
#endif |