Index: gm/imagefiltersclipped.cpp |
diff --git a/gm/imagefiltersclipped.cpp b/gm/imagefiltersclipped.cpp |
index 01b0a43fcbb6a84f8df09a245e3aa8b3bd1b4708..7c75bf3951a0b60b1a12f31c6fd950a0de3a0c4c 100644 |
--- a/gm/imagefiltersclipped.cpp |
+++ b/gm/imagefiltersclipped.cpp |
@@ -90,7 +90,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)); |
SkMatrix resizeMatrix; |
resizeMatrix.setScale(RESIZE_FACTOR_X, RESIZE_FACTOR_Y); |