Index: src/gpu/GrRectBatch.cpp |
diff --git a/src/gpu/GrRectBatch.cpp b/src/gpu/GrRectBatch.cpp |
index 60f0800a9b262355eda12fb59c14723514338c8a..1cc948652b150a73353c1721c7b6ae0429ce6d80 100644 |
--- a/src/gpu/GrRectBatch.cpp |
+++ b/src/gpu/GrRectBatch.cpp |
@@ -54,14 +54,14 @@ public: |
fBatch.fCoverageIgnored = !init.readsCoverage(); |
} |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
+ void generateGeometry(GrBatchTarget* batchTarget) override { |
SkAutoTUnref<const GrGeometryProcessor> gp(this->createRectGP()); |
if (!gp) { |
SkDebugf("Could not create GrGeometryProcessor\n"); |
return; |
} |
- batchTarget->initDraw(gp, pipeline); |
+ batchTarget->initDraw(gp, this->pipeline()); |
int instanceCount = fGeoData.count(); |
size_t vertexStride = gp->getVertexStride(); |