| Index: tools/VisualBench/VisualBenchmarkStream.cpp
|
| diff --git a/tools/VisualBench/VisualBenchmarkStream.cpp b/tools/VisualBench/VisualBenchmarkStream.cpp
|
| index b15ac7e8f1bb09a257656e12f8c54f49782549a0..56780f8f99fa014488e17e25d098ce701ced7407 100644
|
| --- a/tools/VisualBench/VisualBenchmarkStream.cpp
|
| +++ b/tools/VisualBench/VisualBenchmarkStream.cpp
|
| @@ -56,8 +56,7 @@ private:
|
| paint.setStrokeWidth(2);
|
|
|
| SkPaint perlinPaint;
|
| - perlinPaint.setShader(SkPerlinNoiseShader::CreateTurbulence(0.1f, 0.1f, 1, 0,
|
| - nullptr))->unref();
|
| + perlinPaint.setShader(SkPerlinNoiseShader::MakeTurbulence(0.1f, 0.1f, 1, 0, nullptr));
|
| for (int i = 0; i < loops; i++) {
|
| canvas->drawPath(fPath, paint);
|
| canvas->drawRect(fPerlinRect, perlinPaint);
|
|
|