Index: src/gpu/batches/GrTestBatch.h |
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h |
index 085b184a28639e917d4d86c22aad486bbea644a8..02881c9668ed2c1d0a78355990a045b625baf52b 100644 |
--- a/src/gpu/batches/GrTestBatch.h |
+++ b/src/gpu/batches/GrTestBatch.h |
@@ -50,7 +50,8 @@ public: |
} |
protected: |
- GrTestBatch(const GrGeometryProcessor* gp, const SkRect& bounds) { |
+ GrTestBatch(uint32_t classID, const GrGeometryProcessor* gp, const SkRect& bounds) |
+ : INHERITED(classID) { |
fGeometryProcessor.reset(SkRef(gp)); |
this->setBounds(bounds); |
@@ -82,6 +83,8 @@ private: |
SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor; |
BatchTracker fBatch; |
+ |
+ typedef GrVertexBatch INHERITED; |
}; |
#endif |