Index: src/core/SkPictureShader.h |
diff --git a/src/core/SkPictureShader.h b/src/core/SkPictureShader.h |
index 01a66ec6ea52fdb83e0eb1bab0093306370ce7e0..11bec1afc7f0902030aea46fe44288e55f54db48 100644 |
--- a/src/core/SkPictureShader.h |
+++ b/src/core/SkPictureShader.h |
@@ -28,7 +28,7 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPictureShader) |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
+ sk_sp<GrFragmentProcessor> asFragmentProcessor(GrContext*, |
const SkMatrix& viewM, |
const SkMatrix*, |
SkFilterQuality, |