aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkShader.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-03-10 16:18:46 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-10 16:18:46 -0800
commite683c56115a210b5993df9294260bb147b408bfa (patch)
treea544048de0c2e3e693953cc1e5319fff108a68ae /include/core/SkShader.h
parentdd67e3d1b3c1e9f400f1ddd37e9e52c8a2952eec (diff)
Revert of add Make variations to return SkImage by sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1778393002/ )
Reason for revert: Experimental revert to try to clear up ASAN failures Original issue's description: > add Make variations to return SkImage by sk_sp > > some internal call-sites update, but not. Will follow-up in future to complete that. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1778393002 > > Committed: https://skia.googlesource.com/skia/+/bd73ffb83022f1f6b1997e2a91c049949e88a8a2 TBR=fmalita@chromium.org,bsalomon@google.com,reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1783063002
Diffstat (limited to 'include/core/SkShader.h')
-rw-r--r--include/core/SkShader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 158d526e44..0bcb98a07e 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -411,7 +411,7 @@ public:
* bounds.
* @return Returns a new shader object. Note: this function never returns null.
*/
- static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
+ static sk_sp<SkShader> MakePictureShader(sk_sp<const SkPicture> src, TileMode tmx, TileMode tmy,
const SkMatrix* localMatrix, const SkRect* tile);
/**