Index: gm/imagefilterscropexpand.cpp |
diff --git a/gm/imagefilterscropexpand.cpp b/gm/imagefilterscropexpand.cpp |
index f1a132369ac723edb88290b74be2836439524250..8f36ba90418072d5b468d43a17cd5abd2b369bf4 100644 |
--- a/gm/imagefilterscropexpand.cpp |
+++ b/gm/imagefilterscropexpand.cpp |
@@ -88,15 +88,13 @@ protected: |
noopCropped, |
&bigRect)); |
- Draw(canvas, checkerboard, rect, |
- sk_sp<SkImageFilter>(SkDilateImageFilter::Create(2, 2, |
- noopCropped.get(), |
- &bigRect))); |
+ Draw(canvas, checkerboard, rect, SkDilateImageFilter::Make(2, 2, |
+ noopCropped, |
+ &bigRect)); |
- Draw(canvas, checkerboard, rect, |
- sk_sp<SkImageFilter>(SkErodeImageFilter::Create(2, 2, |
- noopCropped.get(), |
- &bigRect))); |
+ Draw(canvas, checkerboard, rect, SkErodeImageFilter::Make(2, 2, |
+ noopCropped, |
+ &bigRect)); |
Draw(canvas, checkerboard, rect, |
sk_sp<SkImageFilter>(SkDropShadowImageFilter::Create( |