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