diff options
Diffstat (limited to 'src/gpu/batches/GrAAStrokeRectBatch.h')
-rw-r--r-- | src/gpu/batches/GrAAStrokeRectBatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrAAStrokeRectBatch.h b/src/gpu/batches/GrAAStrokeRectBatch.h index 7fa15f5326..b6fb89f502 100644 --- a/src/gpu/batches/GrAAStrokeRectBatch.h +++ b/src/gpu/batches/GrAAStrokeRectBatch.h @@ -14,7 +14,7 @@ #include "SkMatrix.h" #include "SkRect.h" -class GrAAStrokeRectBatch : public GrBatch { +class GrAAStrokeRectBatch : public GrVertexBatch { public: // TODO support AA rotated stroke rects by copying around view matrices struct Geometry { @@ -25,7 +25,7 @@ public: bool fMiterStroke; }; - static GrBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix) { + static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix) { return SkNEW_ARGS(GrAAStrokeRectBatch, (geometry, viewMatrix)); } |