diff options
Diffstat (limited to 'src/gpu/batches/GrTestBatch.h')
-rw-r--r-- | src/gpu/batches/GrTestBatch.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h index 085b184a28..02881c9668 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 |