Index: src/gpu/GrTestBatch.h |
diff --git a/src/gpu/GrTestBatch.h b/src/gpu/GrTestBatch.h |
index 8e16f52946a8d1df304578bfc962cd2f7a842388..e180fac39046f793f278e148f0ee330e92a764de 100644 |
--- a/src/gpu/GrTestBatch.h |
+++ b/src/gpu/GrTestBatch.h |
@@ -68,8 +68,10 @@ public: |
} |
protected: |
- GrTestBatch(const GrGeometryProcessor* gp) { |
+ GrTestBatch(const GrGeometryProcessor* gp, const SkRect& bounds) { |
fGeometryProcessor.reset(SkRef(gp)); |
+ |
+ this->setBounds(bounds); |
} |
const GrGeometryProcessor* geometryProcessor() const { return fGeometryProcessor; } |