Index: src/gpu/batches/GrStrokeRectBatch.cpp |
diff --git a/src/gpu/batches/GrStrokeRectBatch.cpp b/src/gpu/batches/GrStrokeRectBatch.cpp |
index 20c754c8996582d96e395a35e64bd89ea5523da2..766302bf5b5b251b52a0163b2a224099ec432a67 100644 |
--- a/src/gpu/batches/GrStrokeRectBatch.cpp |
+++ b/src/gpu/batches/GrStrokeRectBatch.cpp |
@@ -10,8 +10,9 @@ |
#include "GrBatchFlushState.h" |
#include "SkRandom.h" |
-GrStrokeRectBatch::GrStrokeRectBatch(const Geometry& geometry, bool snapToPixelCenters) |
- : INHERITED(ClassID()) { |
+GrStrokeRectBatch::GrStrokeRectBatch(const Geometry& geometry, bool snapToPixelCenters) { |
+ this->initClassID<GrStrokeRectBatch>(); |
+ |
fBatch.fHairline = geometry.fStrokeWidth == 0; |
fGeoData.push_back(geometry); |