aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrDrawAtlasBatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrDrawAtlasBatch.cpp')
-rw-r--r--src/gpu/batches/GrDrawAtlasBatch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrDrawAtlasBatch.cpp b/src/gpu/batches/GrDrawAtlasBatch.cpp
index 3596e16861..2254e9cdfe 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);