Index: gm/filterfastbounds.cpp |
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp |
index 0ae7068503ba66b074e191c2cad47307d2056dad..d0fed529f5a2e6660a9e3898dca51b8e8ce1f178 100644 |
--- a/gm/filterfastbounds.cpp |
+++ b/gm/filterfastbounds.cpp |
@@ -9,7 +9,6 @@ |
#include "SkBitmapSource.h" |
#include "SkBlurImageFilter.h" |
#include "SkDropShadowImageFilter.h" |
-#include "SkMatrixImageFilter.h" |
#include "SkOffsetImageFilter.h" |
#include "SkPictureImageFilter.h" |
#include "SkPictureRecorder.h" |
@@ -93,8 +92,8 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) { |
SkMatrix scale; |
scale.setScale(2.0f, 2.0f); |
- SkAutoTUnref<SkMatrixImageFilter> scaleMIF( |
- SkMatrixImageFilter::Create(scale, kLow_SkFilterQuality, source)); |
+ SkAutoTUnref<SkImageFilter> scaleMIF( |
+ SkImageFilter::CreateMatrixFilter(scale, kLow_SkFilterQuality, source)); |
add_paint(scaleMIF, paints); |
} |
@@ -103,8 +102,8 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) { |
SkMatrix rot; |
rot.setRotate(-33.3f); |
- SkAutoTUnref<SkMatrixImageFilter> rotMIF( |
- SkMatrixImageFilter::Create(rot, kLow_SkFilterQuality, source)); |
+ SkAutoTUnref<SkImageFilter> rotMIF( |
+ SkImageFilter::CreateMatrixFilter(rot, kLow_SkFilterQuality, source)); |
add_paint(rotMIF, paints); |
} |