Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index 14752dbab55738a21c19d828a1be02e15bd0ebfd..e27a523cbc6289eec6438a562b237476aca01aa7 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -153,13 +153,13 @@ |
0, SK_Scalar1, 0, 0, 0, |
0, 0, SK_Scalar1, 0, 0, |
0, 0, 0, 0.5f, 0 }; |
- SkAutoTUnref<SkColorFilter> matrixCF(SkColorMatrixFilter::Create(matrix)); |
+ SkAutoTUnref<SkColorMatrixFilter> matrixCF(SkColorMatrixFilter::Create(matrix)); |
SkAutoTUnref<SkImageFilter> matrixFilter(SkColorFilterImageFilter::Create(matrixCF)); |
SkAutoTUnref<SkImageFilter> offsetFilter( |
SimpleOffsetFilter::Create(10.0f, 10.f, matrixFilter)); |
SkAutoTUnref<SkXfermode> arith(SkArithmeticMode::Create(0, SK_Scalar1, SK_Scalar1, 0)); |
- SkAutoTUnref<SkImageFilter> arithFilter( |
+ SkAutoTUnref<SkXfermodeImageFilter> arithFilter( |
SkXfermodeImageFilter::Create(arith, matrixFilter, offsetFilter)); |
SkPaint paint; |