Index: gm/beziereffects.cpp |
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp |
index 81d5c583d8c89778e4c5db6b0d1f5a1a27b151ed..1886a4a2b0ae811503045fc42a389dadd4736838 100644 |
--- a/gm/beziereffects.cpp |
+++ b/gm/beziereffects.cpp |
@@ -32,7 +32,6 @@ |
class BezierCubicOrConicTestBatch : public GrTestBatch { |
public: |
- DEFINE_BATCH_CLASS_ID |
struct Geometry : public GrTestBatch::Geometry { |
SkRect fBounds; |
}; |
@@ -47,7 +46,8 @@ |
private: |
BezierCubicOrConicTestBatch(const GrGeometryProcessor* gp, const Geometry& geo, |
const SkScalar klmEqs[9], SkScalar sign) |
- : INHERITED(ClassID(), gp, geo.fBounds) { |
+ : INHERITED(gp, geo.fBounds) { |
+ this->initClassID<BezierCubicOrConicTestBatch>(); |
for (int i = 0; i < 9; i++) { |
fKlmEqs[i] = klmEqs[i]; |
} |
@@ -432,7 +432,6 @@ |
class BezierQuadTestBatch : public GrTestBatch { |
public: |
- DEFINE_BATCH_CLASS_ID |
struct Geometry : public GrTestBatch::Geometry { |
SkRect fBounds; |
}; |
@@ -447,9 +446,10 @@ |
private: |
BezierQuadTestBatch(const GrGeometryProcessor* gp, const Geometry& geo, |
const GrPathUtils::QuadUVMatrix& devToUV) |
- : INHERITED(ClassID(), gp, geo.fBounds) |
+ : INHERITED(gp, geo.fBounds) |
, fGeometry(geo) |
, fDevToUV(devToUV) { |
+ this->initClassID<BezierQuadTestBatch>(); |
} |
struct Vertex { |