Index: src/gpu/batches/GrAAStrokeRectBatch.h |
diff --git a/src/gpu/batches/GrAAStrokeRectBatch.h b/src/gpu/batches/GrAAStrokeRectBatch.h |
index fad5bd9d8df8293fe8465a4207a7ccb39ad787d8..ae7534823b421c2c19baa36b1fa8847995a3ebb4 100644 |
--- a/src/gpu/batches/GrAAStrokeRectBatch.h |
+++ b/src/gpu/batches/GrAAStrokeRectBatch.h |
@@ -18,8 +18,6 @@ |
class GrAAStrokeRectBatch : public GrVertexBatch { |
public: |
- DEFINE_BATCH_CLASS_ID |
- |
// TODO support AA rotated stroke rects by copying around view matrices |
struct Geometry { |
GrColor fColor; |
@@ -50,8 +48,8 @@ |
void onPrepareDraws(Target*) override; |
void initBatchTracker(const GrPipelineOptimizations&) override; |
- GrAAStrokeRectBatch(const Geometry& geometry, const SkMatrix& viewMatrix) |
- : INHERITED(ClassID()) { |
+ GrAAStrokeRectBatch(const Geometry& geometry, const SkMatrix& viewMatrix) { |
+ this->initClassID<GrAAStrokeRectBatch>(); |
fBatch.fViewMatrix = viewMatrix; |
fGeoData.push_back(geometry); |
@@ -107,8 +105,6 @@ |
BatchTracker fBatch; |
SkSTArray<1, Geometry, true> fGeoData; |
- |
- typedef GrVertexBatch INHERITED; |
}; |