Index: fuzz/FilterFuzz.cpp |
diff --git a/fuzz/FilterFuzz.cpp b/fuzz/FilterFuzz.cpp |
index 484bbf7624dda68dc2a712189622d9760e17f882..cad32466fc0a45dc38de93b9f788d641bb0b616b 100644 |
--- a/fuzz/FilterFuzz.cpp |
+++ b/fuzz/FilterFuzz.cpp |
@@ -713,14 +713,9 @@ static sk_sp<SkImageFilter> make_image_filter(bool canBeNull) { |
make_image_filter(false), |
make_image_filter()); |
break; |
- case TILE: { |
- sk_sp<SkImageFilter> subFilter(make_image_filter(false)); |
- |
- filter = sk_sp<SkImageFilter>(SkTileImageFilter::Create(make_rect(), |
- make_rect(), |
- subFilter.get())); |
+ case TILE: |
+ filter = SkTileImageFilter::Make(make_rect(), make_rect(), make_image_filter(false)); |
break; |
- } |
case PICTURE: { |
SkRTreeFactory factory; |
SkPictureRecorder recorder; |