Chromium Code Reviews| Index: src/gpu/batches/GrBatch.cpp |
| diff --git a/src/gpu/batches/GrBatch.cpp b/src/gpu/batches/GrBatch.cpp |
| index a3a9884b0fd7f6178db1f5465ad51fbf9d2f0531..675b64978ddb96115b56c781fe16be67919276d1 100644 |
| --- a/src/gpu/batches/GrBatch.cpp |
| +++ b/src/gpu/batches/GrBatch.cpp |
| @@ -46,8 +46,8 @@ void GrBatch::operator delete(void* target) { |
| return MemoryPoolAccessor().pool()->release(target); |
| } |
| -GrBatch::GrBatch() |
| - : fClassID(kIllegalBatchID) |
| +GrBatch::GrBatch(uint32_t classID) |
| + : fClassID(classID) |
| #if GR_BATCH_SPEW |
|
robertphillips
2015/09/17 16:58:09
Did we just break this ?
|
| , fUniqueID(GenID(&gCurrBatchUniqueID)) |
| #endif |