diff options
Diffstat (limited to 'gm/perlinnoise.cpp')
-rw-r--r-- | gm/perlinnoise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/perlinnoise.cpp b/gm/perlinnoise.cpp index 7e6f70e5de..92f0f963c3 100644 --- a/gm/perlinnoise.cpp +++ b/gm/perlinnoise.cpp @@ -154,7 +154,7 @@ protected: SkMatrix lm; lm.setScale(2, 2); - paint.setShader(paint.getShader()->newWithLocalMatrix(lm))->unref(); + paint.setShader(paint.getShader()->makeWithLocalMatrix(lm)); r.fRight += r.width(); r.fBottom += r.height(); |