| Index: src/gpu/effects/GrDisableColorXP.h
|
| diff --git a/src/gpu/effects/GrDisableColorXP.h b/src/gpu/effects/GrDisableColorXP.h
|
| index 558495451df77c8551649449dc2d823fea80a518..c9a72b33738d344181b077fc3875b5750e26f096 100644
|
| --- a/src/gpu/effects/GrDisableColorXP.h
|
| +++ b/src/gpu/effects/GrDisableColorXP.h
|
| @@ -10,12 +10,13 @@
|
|
|
| #include "GrTypes.h"
|
| #include "GrXferProcessor.h"
|
| +#include "SkRefCnt.h"
|
|
|
| class GrProcOptInfo;
|
|
|
| class GrDisableColorXPFactory : public GrXPFactory {
|
| public:
|
| - static GrXPFactory* Create() { return new GrDisableColorXPFactory; }
|
| + static sk_sp<GrXPFactory> Create() { return sk_sp<GrXPFactory>(new GrDisableColorXPFactory); }
|
|
|
| void getInvariantBlendedColor(const GrProcOptInfo& colorPOI,
|
| GrXPFactory::InvariantBlendedColor* blendedColor) const override {
|
|
|