Index: src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
index a7e98249e216b77327c8b0dec48ecf162497ef48..d05fe4e90843c56761760698cea115ae283cdde0 100644 |
--- a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
@@ -119,8 +119,6 @@ |
class AAFlatteningConvexPathBatch : public GrVertexBatch { |
public: |
- DEFINE_BATCH_CLASS_ID |
- |
struct Geometry { |
GrColor fColor; |
SkMatrix fViewMatrix; |
@@ -260,7 +258,8 @@ |
SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; } |
- AAFlatteningConvexPathBatch(const Geometry& geometry) : INHERITED(ClassID()) { |
+ AAFlatteningConvexPathBatch(const Geometry& geometry) { |
+ this->initClassID<AAFlatteningConvexPathBatch>(); |
fGeoData.push_back(geometry); |
// compute bounds |
@@ -309,8 +308,6 @@ |
BatchTracker fBatch; |
SkSTArray<1, Geometry, true> fGeoData; |
- |
- typedef GrVertexBatch INHERITED; |
}; |
bool GrAALinearizingConvexPathRenderer::onDrawPath(const DrawPathArgs& args) { |