Index: bench/BlurImageFilterBench.cpp |
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp |
index 2407a44d144b89077e423493a019e57ec38e31bd..cf93774178bd40b88edee8437869c1c17be7158a 100644 |
--- a/bench/BlurImageFilterBench.cpp |
+++ b/bench/BlurImageFilterBench.cpp |
@@ -73,8 +73,7 @@ protected: |
SkIntToScalar(fCheckerboard.height())); |
const SkImageFilter::CropRect cropRect(bmpRect.makeInset(10.f, 10.f)); |
const SkImageFilter::CropRect cropRectLarge(bmpRect); |
- SkAutoTUnref<SkImageFilter> noOpCropped(SkOffsetImageFilter::Create(0, 0, nullptr, |
- &cropRect)); |
+ sk_sp<SkImageFilter> noOpCropped(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect)); |
SkImageFilter* input = fIsExpanded ? noOpCropped.get() : nullptr; |