Index: gm/imagefiltersclipped.cpp |
diff --git a/gm/imagefiltersclipped.cpp b/gm/imagefiltersclipped.cpp |
index 85c5438bca9c929312aafeb30e6495d5849f22ec..b123094a80495d11569657fc83d582776c4ec641 100644 |
--- a/gm/imagefiltersclipped.cpp |
+++ b/gm/imagefiltersclipped.cpp |
@@ -103,11 +103,9 @@ protected: |
SkIntToScalar(12), |
gradient.get(), |
checkerboard.get()), |
- SkDilateImageFilter::Create(2, 2, checkerboard.get()), |
- SkErodeImageFilter::Create(2, 2, checkerboard.get()), |
- SkOffsetImageFilter::Make(SkIntToScalar(-16), |
- SkIntToScalar(32), |
- nullptr).release(), |
+ SkDilateImageFilter::Make(2, 2, checkerboard).release(), |
+ SkErodeImageFilter::Make(2, 2, checkerboard).release(), |
+ SkOffsetImageFilter::Make(SkIntToScalar(-16), SkIntToScalar(32), nullptr).release(), |
SkImageFilter::CreateMatrixFilter(resizeMatrix, kNone_SkFilterQuality), |
SkLightingImageFilter::CreatePointLitDiffuse(pointLocation, SK_ColorWHITE, SK_Scalar1, |
SkIntToScalar(2), checkerboard.get()), |