Index: src/gpu/SkGrPriv.h |
diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h |
index 290c056a42398e9a41d6c055faa2f5bd2e5ccef4..266cfff61cfe94605833b2d4b7a88336e8398674 100644 |
--- a/src/gpu/SkGrPriv.h |
+++ b/src/gpu/SkGrPriv.h |
@@ -62,7 +62,7 @@ bool SkPaintToGrPaintNoShader(GrContext* context, |
no primitive color. */ |
bool SkPaintToGrPaintReplaceShader(GrContext*, |
const SkPaint& skPaint, |
- const GrFragmentProcessor* shaderFP, |
+ sk_sp<GrFragmentProcessor> shaderFP, |
bool allowSRGBInputs, |
GrPaint* grPaint); |
@@ -93,7 +93,7 @@ inline bool SkPaintToGrPaintWithPrimitiveColor(GrContext* context, const SkPaint |
bool SkPaintToGrPaintWithTexture(GrContext* context, |
const SkPaint& paint, |
const SkMatrix& viewM, |
- const GrFragmentProcessor* fp, |
+ sk_sp<GrFragmentProcessor> fp, |
bool textureIsAlphaOnly, |
bool allowSRGBInputs, |
GrPaint* grPaint); |