Index: gm/imagefiltersscaled.cpp |
diff --git a/gm/imagefiltersscaled.cpp b/gm/imagefiltersscaled.cpp |
index 56a1484f219dc59bfcd65d268ea56943897cfabe..3f819d874a71ae24f75b6b38283922f8b840ab4c 100644 |
--- a/gm/imagefiltersscaled.cpp |
+++ b/gm/imagefiltersscaled.cpp |
@@ -82,8 +82,8 @@ protected: |
SkIntToScalar(12), |
gradient.get(), |
checkerboard.get()), |
- SkDilateImageFilter::Create(1, 1, checkerboard.get()), |
- SkErodeImageFilter::Create(1, 1, checkerboard.get()), |
+ SkDilateImageFilter::Make(1, 1, checkerboard).release(), |
+ SkErodeImageFilter::Make(1, 1, checkerboard).release(), |
SkOffsetImageFilter::Make(SkIntToScalar(32), 0, nullptr).release(), |
SkImageFilter::CreateMatrixFilter(resizeMatrix, kNone_SkFilterQuality), |
SkPaintImageFilter::Make(noisePaint).release(), |