Index: gm/filterfastbounds.cpp |
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp |
index a254ec92c3e0afadf04e4ce9984866c62b7961db..6ae4e740dea71ecaf71462f2f2eb51276cf80656 100644 |
--- a/gm/filterfastbounds.cpp |
+++ b/gm/filterfastbounds.cpp |
@@ -95,7 +95,7 @@ static void create_paints(SkTArray<SkPaint>* paints, sk_sp<SkImageFilter> source |
scale.setScale(2.0f, 2.0f); |
sk_sp<SkImageFilter> scaleMIF( |
- SkImageFilter::CreateMatrixFilter(scale, kLow_SkFilterQuality, source.get())); |
+ SkImageFilter::MakeMatrixFilter(scale, kLow_SkFilterQuality, source)); |
add_paint(paints, std::move(scaleMIF)); |
} |
@@ -105,7 +105,7 @@ static void create_paints(SkTArray<SkPaint>* paints, sk_sp<SkImageFilter> source |
rot.setRotate(-33.3f); |
sk_sp<SkImageFilter> rotMIF( |
- SkImageFilter::CreateMatrixFilter(rot, kLow_SkFilterQuality, source.get())); |
+ SkImageFilter::MakeMatrixFilter(rot, kLow_SkFilterQuality, source)); |
add_paint(paints, std::move(rotMIF)); |
} |