Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 172f84fa772b9b1183c9f5d428cf84d43616724e..e92fef50d163fdb60b2dd8b6f7d3b90c960130db 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -222,10 +222,10 @@ public: |
cropRect)); |
this->addFilter("dilate", SkDilateImageFilter::Make(3, 2, input, cropRect)); |
this->addFilter("erode", SkErodeImageFilter::Make(2, 3, input, cropRect)); |
- this->addFilter("tile", sk_sp<SkImageFilter>(SkTileImageFilter::Create( |
- SkRect::MakeXYWH(0, 0, 50, 50), |
- cropRect ? cropRect->rect() : SkRect::MakeXYWH(0, 0, 100, 100), |
- input.get()))); |
+ this->addFilter("tile", SkTileImageFilter::Make( |
+ SkRect::MakeXYWH(0, 0, 50, 50), |
+ cropRect ? cropRect->rect() : SkRect::MakeXYWH(0, 0, 100, 100), |
+ input)); |
if (!cropRect) { |
SkMatrix matrix; |