Index: src/gpu/effects/GrBitmapTextGeoProc.h |
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.h b/src/gpu/effects/GrBitmapTextGeoProc.h |
index 5501d938f5601984daffe40df6575dc9c178a0a5..226ae770e77bf1d690e2e3727986a93be8573c7d 100644 |
--- a/src/gpu/effects/GrBitmapTextGeoProc.h |
+++ b/src/gpu/effects/GrBitmapTextGeoProc.h |
@@ -21,10 +21,11 @@ class GrInvariantOutput; |
*/ |
class GrBitmapTextGeoProc : public GrGeometryProcessor { |
public: |
- static GrGeometryProcessor* Create(GrColor color, GrTexture* tex, const GrTextureParams& p, |
+ static sk_sp<GrGeometryProcessor> Make(GrColor color, GrTexture* tex, const GrTextureParams& p, |
GrMaskFormat format, const SkMatrix& localMatrix, |
bool usesLocalCoords) { |
- return new GrBitmapTextGeoProc(color, tex, p, format, localMatrix, usesLocalCoords); |
+ return sk_sp<GrGeometryProcessor>( |
+ new GrBitmapTextGeoProc(color, tex, p, format, localMatrix, usesLocalCoords)); |
} |
virtual ~GrBitmapTextGeoProc() {} |