| Index: include/gpu/effects/GrConstColorProcessor.h
|
| diff --git a/include/gpu/effects/GrConstColorProcessor.h b/include/gpu/effects/GrConstColorProcessor.h
|
| index 679533eac597f38d7bcf0a0223179609180a9dee..e9781bb22a33db4f579aa0176200c100e4224c94 100644
|
| --- a/include/gpu/effects/GrConstColorProcessor.h
|
| +++ b/include/gpu/effects/GrConstColorProcessor.h
|
| @@ -26,8 +26,8 @@ public:
|
| };
|
| static const int kInputModeCnt = kLastInputMode + 1;
|
|
|
| - static GrFragmentProcessor* Create(GrColor color, InputMode mode) {
|
| - return new GrConstColorProcessor(color, mode);
|
| + static sk_sp<GrFragmentProcessor> Make(GrColor color, InputMode mode) {
|
| + return sk_sp<GrFragmentProcessor>(new GrConstColorProcessor(color, mode));
|
| }
|
|
|
| const char* name() const override { return "Color"; }
|
|
|