Index: gm/imagefiltersscaled.cpp |
diff --git a/gm/imagefiltersscaled.cpp b/gm/imagefiltersscaled.cpp |
index 9c0150001c5a6f56c600b731e083e9237bc7c9fc..21d070456badb8a3324de695e0767efc9c2c4ebd 100644 |
--- a/gm/imagefiltersscaled.cpp |
+++ b/gm/imagefiltersscaled.cpp |
@@ -54,7 +54,7 @@ protected: |
SkAutoTUnref<SkImageFilter> gradient(SkImageSource::Create(fGradientCircle.get())); |
SkAutoTUnref<SkImageFilter> checkerboard(SkImageSource::Create(fCheckerboard.get())); |
- SkAutoTUnref<SkShader> noise(SkPerlinNoiseShader::CreateFractalNoise( |
+ sk_sp<SkShader> noise(SkPerlinNoiseShader::MakeFractalNoise( |
SkDoubleToScalar(0.1), SkDoubleToScalar(0.05), 1, 0)); |
SkPaint noisePaint; |
noisePaint.setShader(noise); |