Index: src/gpu/GrTestBatch.h |
diff --git a/src/gpu/GrTestBatch.h b/src/gpu/GrTestBatch.h |
index 5e0f107d273dc727f678ff88ba64409434090f98..4bcb7bc1597db7842215b699ed7e988fd20e5c24 100644 |
--- a/src/gpu/GrTestBatch.h |
+++ b/src/gpu/GrTestBatch.h |
@@ -46,10 +46,10 @@ public: |
fBatch.fCoverageIgnored = !init.readsCoverage(); |
} |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
- batchTarget->initDraw(fGeometryProcessor, pipeline); |
+ void generateGeometry(GrBatchTarget* batchTarget) override { |
+ batchTarget->initDraw(fGeometryProcessor, this->pipeline()); |
- this->onGenerateGeometry(batchTarget, pipeline); |
+ this->onGenerateGeometry(batchTarget); |
} |
protected: |
@@ -69,7 +69,7 @@ private: |
return false; |
} |
- virtual void onGenerateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) = 0; |
+ virtual void onGenerateGeometry(GrBatchTarget* batchTarget) = 0; |
struct BatchTracker { |
GrColor fColor; |