diff options
author | robertphillips <robertphillips@google.com> | 2016-04-05 15:09:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-05 15:09:00 -0700 |
commit | ae8c933ca89315c1256bcf23749b5ee5cbc0d53c (patch) | |
tree | 2a6f8810f638f8ffb5c5c905d434dee933d3f60b /gm/filterfastbounds.cpp | |
parent | 77304a5b76858acf9f1bbdabd1b2014c40b399ec (diff) |
Update SkMatrixImageFilter to sk_sp
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1858353002
Review URL: https://codereview.chromium.org/1858353002
Diffstat (limited to 'gm/filterfastbounds.cpp')
-rw-r--r-- | gm/filterfastbounds.cpp | 4 |
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)); } |