| Index: gm/convexpolyeffect.cpp
|
| diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp
|
| index ba5cc5be251753627f530bba82f800b8b988158a..1c4a0b1841f57806dad16d47b22ad8ba14624e7a 100644
|
| --- a/gm/convexpolyeffect.cpp
|
| +++ b/gm/convexpolyeffect.cpp
|
| @@ -36,7 +36,7 @@ public:
|
|
|
| const char* name() const override { return "ConvexPolyTestBatch"; }
|
|
|
| - static GrBatch* Create(const GrGeometryProcessor* gp, const Geometry& geo) {
|
| + static GrDrawBatch* Create(const GrGeometryProcessor* gp, const Geometry& geo) {
|
| return SkNEW_ARGS(ConvexPolyTestBatch, (gp, geo));
|
| }
|
|
|
| @@ -197,7 +197,7 @@ protected:
|
| geometry.fColor = color.fColor;
|
| geometry.fBounds = p.getBounds();
|
|
|
| - SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry));
|
| + SkAutoTUnref<GrDrawBatch> batch(ConvexPolyTestBatch::Create(gp, geometry));
|
|
|
| tt.target()->drawBatch(pipelineBuilder, batch);
|
|
|
| @@ -246,7 +246,7 @@ protected:
|
| geometry.fColor = color.fColor;
|
| geometry.fBounds = rect;
|
|
|
| - SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry));
|
| + SkAutoTUnref<GrDrawBatch> batch(ConvexPolyTestBatch::Create(gp, geometry));
|
|
|
| tt.target()->drawBatch(pipelineBuilder, batch);
|
|
|
|
|