Index: gm/resizeimagefilter.cpp |
diff --git a/gm/resizeimagefilter.cpp b/gm/resizeimagefilter.cpp |
index 6916f6116b546d992fef296cc34bdf273a36df60..b88c388c7b4f4b8504761566d42c3af072aa9dad 100644 |
--- a/gm/resizeimagefilter.cpp |
+++ b/gm/resizeimagefilter.cpp |
@@ -9,7 +9,6 @@ |
#include "SkBitmapDevice.h" |
#include "SkBitmapSource.h" |
#include "SkColor.h" |
-#include "SkMatrixImageFilter.h" |
#include "SkRefCnt.h" |
namespace skiagm { |
@@ -42,7 +41,7 @@ protected: |
matrix.setScale(SkScalarInvert(deviceScaleX), |
SkScalarInvert(deviceScaleY)); |
SkAutoTUnref<SkImageFilter> imageFilter( |
- SkMatrixImageFilter::Create(matrix, filterQuality, input)); |
+ SkImageFilter::CreateMatrixFilter(matrix, filterQuality, input)); |
SkPaint filteredPaint; |
filteredPaint.setImageFilter(imageFilter.get()); |
canvas->saveLayer(&rect, &filteredPaint); |