| Index: gm/filterfastbounds.cpp
|
| diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp
|
| index bcecff9379dff55a49870d70b08de343a4cf3673..8bc186e48d885a598c38d720b892810870aaf03b 100644
|
| --- a/gm/filterfastbounds.cpp
|
| +++ b/gm/filterfastbounds.cpp
|
| @@ -150,9 +150,10 @@ static void create_paints(SkImageFilter* source, SkTArray<SkPaint>* paints) {
|
| }
|
|
|
| {
|
| - SkAutoTUnref<SkImageFilter> oif(SkOffsetImageFilter::Create(15, 15, source));
|
| + sk_sp<SkImageFilter> oif(SkOffsetImageFilter::Make(15, 15,
|
| + sk_ref_sp<SkImageFilter>(source)));
|
|
|
| - add_paint(oif, paints);
|
| + add_paint(oif.get(), paints);
|
| }
|
| }
|
|
|
|
|