Index: src/gpu/batches/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
index e9c6e1ecf89a653fb7a0917d91f2f075244b63ef..6bc8549e30a61720eddc3eacf52646c3ad99e19d 100644 |
--- a/src/gpu/batches/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
@@ -211,7 +211,7 @@ private: |
} |
void onPrepareDraws(Target* target) const override { |
- SkAutoTUnref<const GrGeometryProcessor> gp; |
+ sk_sp<GrGeometryProcessor> gp; |
{ |
using namespace GrDefaultGeoProcFactory; |
@@ -226,8 +226,7 @@ private: |
coverageType = Coverage::kNone_Type; |
} |
Coverage coverage(coverageType); |
- gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, |
- fViewMatrix)); |
+ gp = GrDefaultGeoProcFactory::Make(color, coverage, localCoords, fViewMatrix); |
} |
this->draw(target, gp.get()); |
} |