Index: src/gpu/batches/GrBatch.cpp |
diff --git a/src/gpu/batches/GrBatch.cpp b/src/gpu/batches/GrBatch.cpp |
index 19c19ffcf1d05d1d988a4c6172ff507c05a811c0..a3a9884b0fd7f6178db1f5465ad51fbf9d2f0531 100644 |
--- a/src/gpu/batches/GrBatch.cpp |
+++ b/src/gpu/batches/GrBatch.cpp |
@@ -46,10 +46,10 @@ |
return MemoryPoolAccessor().pool()->release(target); |
} |
-GrBatch::GrBatch(uint32_t classID) |
- : fClassID(classID) |
+GrBatch::GrBatch() |
+ : fClassID(kIllegalBatchID) |
#if GR_BATCH_SPEW |
- , fUniqueID(GenBatchID()) |
+ , fUniqueID(GenID(&gCurrBatchUniqueID)) |
#endif |
{ |
SkDEBUGCODE(fUsed = false;) |