| Index: src/gpu/GrTextureParamsAdjuster.h
|
| diff --git a/src/gpu/GrTextureParamsAdjuster.h b/src/gpu/GrTextureParamsAdjuster.h
|
| index 5f0f2715beb3046358400aed0bb521a137397260..08d71c4563f9c047ad39c51882810f9497c5d3be 100644
|
| --- a/src/gpu/GrTextureParamsAdjuster.h
|
| +++ b/src/gpu/GrTextureParamsAdjuster.h
|
| @@ -59,7 +59,7 @@ public:
|
| * @param filterOrNullForBicubic If non-null indicates the filter mode. If null means
|
| * use bicubic filtering.
|
| **/
|
| - virtual const GrFragmentProcessor* createFragmentProcessor(
|
| + virtual sk_sp<GrFragmentProcessor> createFragmentProcessor(
|
| const SkMatrix& textureMatrix,
|
| const SkRect& constraintRect,
|
| FilterConstraint filterConstraint,
|
| @@ -131,7 +131,7 @@ public:
|
| GrTexture* refTextureSafeForParams(const GrTextureParams&, SkSourceGammaTreatment,
|
| SkIPoint* outOffset);
|
|
|
| - const GrFragmentProcessor* createFragmentProcessor(
|
| + sk_sp<GrFragmentProcessor> createFragmentProcessor(
|
| const SkMatrix& textureMatrix,
|
| const SkRect& constraintRect,
|
| FilterConstraint,
|
| @@ -172,7 +172,7 @@ public:
|
| the texture. */
|
| GrTexture* refTextureForParams(const GrTextureParams&, SkSourceGammaTreatment);
|
|
|
| - const GrFragmentProcessor* createFragmentProcessor(
|
| + sk_sp<GrFragmentProcessor> createFragmentProcessor(
|
| const SkMatrix& textureMatrix,
|
| const SkRect& constraintRect,
|
| FilterConstraint filterConstraint,
|
|
|