Index: src/gpu/effects/GrDisableColorXP.h |
diff --git a/src/gpu/effects/GrDisableColorXP.h b/src/gpu/effects/GrDisableColorXP.h |
index 558495451df77c8551649449dc2d823fea80a518..4aed6b671eb65921b71a2be10492c0875e365cea 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> Make() { return sk_sp<GrXPFactory>(new GrDisableColorXPFactory); } |
void getInvariantBlendedColor(const GrProcOptInfo& colorPOI, |
GrXPFactory::InvariantBlendedColor* blendedColor) const override { |