commit | 5671c5b9124f17d33bc14b6d347cdc6fe5d19dc8 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Wed Mar 09 14:47:34 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Mar 09 14:47:34 2016 -0800 |
tree | 534c601a0a5f7d45cfc69d65485dc086f621cd24 | |
parent | 6ceeebd37a43d879c120b6ba100ae1febdd67a18 [diff] [blame] |
SkImage now has makeShader to return sk_sp BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1785473002 Review URL: https://codereview.chromium.org/1785473002
diff --git a/src/image/SkImageShader.h b/src/image/SkImageShader.h index 07b938d..f466e61 100644 --- a/src/image/SkImageShader.h +++ b/src/image/SkImageShader.h
@@ -13,7 +13,8 @@ class SkImageShader : public SkShader { public: - static SkShader* Create(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix); + static sk_sp<SkShader> Make(const SkImage*, TileMode tx, TileMode ty, + const SkMatrix* localMatrix); bool isOpaque() const override;