Index: gm/imagefilterscropped.cpp |
diff --git a/gm/imagefilterscropped.cpp b/gm/imagefilterscropped.cpp |
index 9c8705cfae816390bebd21f37f90afe8a61cb31d..1e880fe68a96e67c93ce1d54448a96676833b62c 100644 |
--- a/gm/imagefilterscropped.cpp |
+++ b/gm/imagefilterscropped.cpp |
@@ -131,18 +131,18 @@ protected: |
SkImageFilter* filters[] = { |
nullptr, |
SkColorFilterImageFilter::Create(cf.get(), nullptr, &cropRect), |
- SkBlurImageFilter::Create(0.0f, 0.0f, nullptr, &cropRect), |
- SkBlurImageFilter::Create(1.0f, 1.0f, nullptr, &cropRect), |
- SkBlurImageFilter::Create(8.0f, 0.0f, nullptr, &cropRect), |
- SkBlurImageFilter::Create(0.0f, 8.0f, nullptr, &cropRect), |
- SkBlurImageFilter::Create(8.0f, 8.0f, nullptr, &cropRect), |
+ SkBlurImageFilter::Make(0.0f, 0.0f, nullptr, &cropRect).release(), |
+ SkBlurImageFilter::Make(1.0f, 1.0f, nullptr, &cropRect).release(), |
+ SkBlurImageFilter::Make(8.0f, 0.0f, nullptr, &cropRect).release(), |
+ SkBlurImageFilter::Make(0.0f, 8.0f, nullptr, &cropRect).release(), |
+ SkBlurImageFilter::Make(8.0f, 8.0f, nullptr, &cropRect).release(), |
SkErodeImageFilter::Create(1, 1, nullptr, &cropRect), |
SkErodeImageFilter::Create(8, 0, erodeY, &cropRect), |
SkErodeImageFilter::Create(0, 8, erodeX, &cropRect), |
SkErodeImageFilter::Create(8, 8, nullptr, &cropRect), |
SkMergeImageFilter::Make(nullptr, std::move(cfOffset), |
SkXfermode::kSrcOver_Mode, &cropRect).release(), |
- SkBlurImageFilter::Create(8.0f, 8.0f, nullptr, &bogusRect), |
+ SkBlurImageFilter::Make(8.0f, 8.0f, nullptr, &bogusRect).release(), |
SkColorFilterImageFilter::Create(cf.get(), nullptr, &bogusRect), |
}; |