Index: gm/imagefilterstransformed.cpp |
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp |
index 687e458f1fe04129020de05998ae372b408cfaae..1ab52b9f58044649ceba8d27df71063657b283ce 100644 |
--- a/gm/imagefilterstransformed.cpp |
+++ b/gm/imagefilterstransformed.cpp |
@@ -74,8 +74,8 @@ protected: |
12, |
gradient.get(), |
checkerboard.get()), |
- SkDilateImageFilter::Create(2, 2, checkerboard.get()), |
- SkErodeImageFilter::Create(2, 2, checkerboard.get()), |
+ SkDilateImageFilter::Make(2, 2, checkerboard).release(), |
+ SkErodeImageFilter::Make(2, 2, checkerboard).release(), |
}; |
const SkScalar margin = SkIntToScalar(20); |