Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index 77ae0d898f518a1b79a8f5510a52287cdc3bdd3b..30389b600d0f3276f07645fa58d5e110224062c5 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -19,7 +19,6 @@ |
#include "SkFlattenableSerialization.h" |
#include "SkLightingImageFilter.h" |
#include "SkMagnifierImageFilter.h" |
-#include "SkMatrixImageFilter.h" |
#include "SkMatrixConvolutionImageFilter.h" |
#include "SkMergeImageFilter.h" |
#include "SkMorphologyImageFilter.h" |
@@ -310,9 +309,9 @@ static SkImageFilter* make_image_filter(bool canBeNull = true) { |
filter = SkOffsetImageFilter::Create(make_scalar(), make_scalar(), make_image_filter()); |
break; |
case MATRIX: |
- filter = SkMatrixImageFilter::Create(make_matrix(), |
- (SkFilterQuality)R(4), |
- make_image_filter()); |
+ filter = SkImageFilter::CreateMatrixFilter(make_matrix(), |
+ (SkFilterQuality)R(4), |
+ make_image_filter()); |
break; |
case MATRIX_CONVOLUTION: |
{ |