Index: src/gpu/batches/GrTInstanceBatch.h |
diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h |
index 420f873d2676f07c51d6714d4f843286a384e670..84d857e99ecf6e7742f0727609a95e0d0f9c8fe5 100644 |
--- a/src/gpu/batches/GrTInstanceBatch.h |
+++ b/src/gpu/batches/GrTInstanceBatch.h |
@@ -22,6 +22,8 @@ |
* |
* const char* Name() |
* |
+ * void SetBounds(const Geometry& seedGeometry, SkRect* outBounds) |
+ * |
* bool CanCombine(const Geometry& mine, const Geometry& theirs, |
* const GrPipelineOptimizations&) |
* |
@@ -66,7 +68,7 @@ public: |
Geometry* geometry() { return &fGeoData[0]; } |
void init() { |
const Geometry& geo = fGeoData[0]; |
- this->setBounds(geo.fDevRect); |
+ Impl::SetBounds(geo, &fBounds); |
} |
private: |