diff options
Diffstat (limited to 'gm')
-rw-r--r-- | gm/beziereffects.cpp | 2 | ||||
-rw-r--r-- | gm/convexpolyeffect.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp index 5e00608fa7..6e586196f4 100644 --- a/gm/beziereffects.cpp +++ b/gm/beziereffects.cpp @@ -46,6 +46,7 @@ private: BezierCubicOrConicTestBatch(const GrGeometryProcessor* gp, const Geometry& geo, const SkScalar klmEqs[9], SkScalar sign) : INHERITED(gp, geo.fBounds) { + this->initClassID<BezierCubicOrConicTestBatch>(); for (int i = 0; i < 9; i++) { fKlmEqs[i] = klmEqs[i]; } @@ -447,6 +448,7 @@ private: : INHERITED(gp, geo.fBounds) , fGeometry(geo) , fDevToUV(devToUV) { + this->initClassID<BezierQuadTestBatch>(); } struct Vertex { diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp index 2c77bceb0a..9891f87215 100644 --- a/gm/convexpolyeffect.cpp +++ b/gm/convexpolyeffect.cpp @@ -43,6 +43,7 @@ private: ConvexPolyTestBatch(const GrGeometryProcessor* gp, const Geometry& geo) : INHERITED(gp, geo.fBounds) , fGeometry(geo) { + this->initClassID<ConvexPolyTestBatch>(); } Geometry* geoData(int index) override { |