Index: src/gpu/batches/GrDrawVerticesBatch.cpp |
diff --git a/src/gpu/batches/GrDrawVerticesBatch.cpp b/src/gpu/batches/GrDrawVerticesBatch.cpp |
index f79b6859df689d7515f1454b91bc7725085f2519..33bed0d0f815d0cf0748c4e4642534eb343a4816 100644 |
--- a/src/gpu/batches/GrDrawVerticesBatch.cpp |
+++ b/src/gpu/batches/GrDrawVerticesBatch.cpp |
@@ -45,8 +45,8 @@ GrDrawVerticesBatch::GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveTy |
const SkPoint* positions, int vertexCount, |
const uint16_t* indices, int indexCount, |
const GrColor* colors, const SkPoint* localCoords, |
- const SkRect& bounds) { |
- this->initClassID<GrDrawVerticesBatch>(); |
+ const SkRect& bounds) |
+ : INHERITED(ClassID()) { |
SkASSERT(positions); |
fBatch.fViewMatrix = viewMatrix; |