diff options
author | reed <reed@google.com> | 2016-03-10 06:36:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-10 06:36:49 -0800 |
commit | 150835e779ceb24e2b540f58958cbff2a0ab9942 (patch) | |
tree | 8568c6ce6a06133dab5a2c3e13c8e10ea193b387 /gm/perlinnoise.cpp | |
parent | 51b56c904140e42c5468f3ce4f792b58318b952a (diff) |
sk_sp versions of newWithColorFilter and newWithLocalMatrix
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1782703002
Review URL: https://codereview.chromium.org/1782703002
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(); |