Index: src/gpu/GrDefaultGeoProcFactory.h |
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h |
index 23bcb451c69c7b6483d2009975a14ce12b6338b5..f7ddb061fdf57f6d16c342fd544c67bfccf930dd 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.h |
+++ b/src/gpu/GrDefaultGeoProcFactory.h |
@@ -115,20 +115,20 @@ namespace GrDefaultGeoProcFactory { |
const SkMatrix* fMatrix; |
}; |
- const GrGeometryProcessor* Create(const Color&, |
- const Coverage&, |
- const LocalCoords&, |
- const SkMatrix& viewMatrix); |
+ sk_sp<GrGeometryProcessor> Make(const Color&, |
+ const Coverage&, |
+ const LocalCoords&, |
+ const SkMatrix& viewMatrix); |
/* |
* Use this factory to create a GrGeometryProcessor that expects a device space vertex position |
* attribute. The view matrix must still be provided to compute correctly transformed |
* coordinates for GrFragmentProcessors. It may fail if the view matrix is not invertible. |
*/ |
- const GrGeometryProcessor* CreateForDeviceSpace(const Color&, |
- const Coverage&, |
- const LocalCoords&, |
- const SkMatrix& viewMatrix); |
+ sk_sp<GrGeometryProcessor> MakeForDeviceSpace(const Color&, |
+ const Coverage&, |
+ const LocalCoords&, |
+ const SkMatrix& viewMatrix); |
inline size_t DefaultVertexStride() { return sizeof(PositionAttr); } |
}; |