Index: src/gpu/batches/GrDrawAtlasBatch.cpp |
diff --git a/src/gpu/batches/GrDrawAtlasBatch.cpp b/src/gpu/batches/GrDrawAtlasBatch.cpp |
index 3596e16861fa6a51b4b73a9b759a8a5ecf8fa57c..2254e9cdfec6573ba3afc6065bd5eaf1780effa6 100644 |
--- a/src/gpu/batches/GrDrawAtlasBatch.cpp |
+++ b/src/gpu/batches/GrDrawAtlasBatch.cpp |
@@ -77,8 +77,8 @@ void GrDrawAtlasBatch::onPrepareDraws(Target* target) { |
GrDrawAtlasBatch::GrDrawAtlasBatch(const Geometry& geometry, const SkMatrix& viewMatrix, |
int spriteCount, const SkRSXform* xforms, const SkRect* rects, |
- const SkColor* colors) { |
- this->initClassID<GrDrawAtlasBatch>(); |
+ const SkColor* colors) |
+ : INHERITED(ClassID()) { |
SkASSERT(xforms); |
SkASSERT(rects); |