| Index: gm/filterfastbounds.cpp
|
| diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp
|
| index 453dded8cc3e0d3328121d42bf58e2a5283ea4e1..9623e4265b58234bce894275522d33863e4b410e 100644
|
| --- a/gm/filterfastbounds.cpp
|
| +++ b/gm/filterfastbounds.cpp
|
| @@ -275,8 +275,8 @@ protected:
|
| temp->drawRect(SkRect::MakeLTRB(5, 0, 10, 5), p);
|
| }
|
|
|
| - SkAutoTUnref<SkImage> image(surface->newImageSnapshot());
|
| - SkAutoTUnref<SkImageFilter> imageSource(SkImageSource::Create(image));
|
| + sk_sp<SkImage> image(surface->makeImageSnapshot());
|
| + SkAutoTUnref<SkImageFilter> imageSource(SkImageSource::Create(image.get()));
|
|
|
| SkTArray<SkPaint> bmsPaints;
|
| create_paints(imageSource, &bmsPaints);
|
|
|