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