aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/filterfastbounds.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-04-05 15:09:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-05 15:09:00 -0700
commitae8c933ca89315c1256bcf23749b5ee5cbc0d53c (patch)
tree2a6f8810f638f8ffb5c5c905d434dee933d3f60b /gm/filterfastbounds.cpp
parent77304a5b76858acf9f1bbdabd1b2014c40b399ec (diff)
Update SkMatrixImageFilter to sk_sp
Diffstat (limited to 'gm/filterfastbounds.cpp')
-rw-r--r--gm/filterfastbounds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp
index a254ec92c3..6ae4e740de 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));
}