Index: gm/convexpolyeffect.cpp |
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp |
index 35cc49859ba5e1dc7ed87002129b6c52f02b2fd1..c014e6a7f562a3d51aecd89b6a2148ea47dd70ee 100644 |
--- a/gm/convexpolyeffect.cpp |
+++ b/gm/convexpolyeffect.cpp |
@@ -31,7 +31,6 @@ |
class ConvexPolyTestBatch : public GrTestBatch { |
public: |
- DEFINE_BATCH_CLASS_ID |
struct Geometry : public GrTestBatch::Geometry { |
SkRect fBounds; |
}; |
@@ -44,8 +43,9 @@ |
private: |
ConvexPolyTestBatch(const GrGeometryProcessor* gp, const Geometry& geo) |
- : INHERITED(ClassID(), gp, geo.fBounds) |
+ : INHERITED(gp, geo.fBounds) |
, fGeometry(geo) { |
+ this->initClassID<ConvexPolyTestBatch>(); |
} |
Geometry* geoData(int index) override { |