| Index: samplecode/SampleFilterFuzz.cpp
|
| diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp
|
| index 82934ea3cc774079e7bcef4f17cdf1cf6bfca582..dd72d1237c6a04c9fc0d7fc494da860eafe650d7 100644
|
| --- a/samplecode/SampleFilterFuzz.cpp
|
| +++ b/samplecode/SampleFilterFuzz.cpp
|
| @@ -648,10 +648,10 @@ static SkImageFilter* make_image_filter(bool canBeNull) {
|
| break;
|
| case NOISE:
|
| {
|
| - SkAutoTUnref<SkShader> shader((R(2) == 1) ?
|
| - SkPerlinNoiseShader::CreateFractalNoise(
|
| + sk_sp<SkShader> shader((R(2) == 1) ?
|
| + SkPerlinNoiseShader::MakeFractalNoise(
|
| make_scalar(true), make_scalar(true), R(10.0f), make_scalar()) :
|
| - SkPerlinNoiseShader::CreateTurbulence(
|
| + SkPerlinNoiseShader::MakeTurbulence(
|
| make_scalar(true), make_scalar(true), R(10.0f), make_scalar()));
|
| SkPaint paint;
|
| paint.setShader(shader);
|
|
|