Index: src/gpu/GrAARectRenderer.cpp |
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp |
index 5050f3da5966545122380558f682f02ea3f0fef0..8e21e8b2ea8988372b98d5255926efb4ae1ef221 100644 |
--- a/src/gpu/GrAARectRenderer.cpp |
+++ b/src/gpu/GrAARectRenderer.cpp |
@@ -94,7 +94,7 @@ public: |
fBatch.fCanTweakAlphaForCoverage = init.canTweakAlphaForCoverage(); |
} |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
+ void generateGeometry(GrBatchTarget* batchTarget) override { |
bool canTweakAlphaForCoverage = this->canTweakAlphaForCoverage(); |
SkAutoTUnref<const GrGeometryProcessor> gp(create_fill_rect_gp(canTweakAlphaForCoverage, |
@@ -106,7 +106,7 @@ public: |
return; |
} |
- batchTarget->initDraw(gp, pipeline); |
+ batchTarget->initDraw(gp, this->pipeline()); |
size_t vertexStride = gp->getVertexStride(); |
SkASSERT(canTweakAlphaForCoverage ? |
@@ -444,7 +444,7 @@ public: |
fBatch.fCanTweakAlphaForCoverage = init.canTweakAlphaForCoverage(); |
} |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
+ void generateGeometry(GrBatchTarget* batchTarget) override { |
bool canTweakAlphaForCoverage = this->canTweakAlphaForCoverage(); |
SkAutoTUnref<const GrGeometryProcessor> gp(create_fill_rect_gp(canTweakAlphaForCoverage, |
@@ -456,7 +456,7 @@ public: |
return; |
} |
- batchTarget->initDraw(gp, pipeline); |
+ batchTarget->initDraw(gp, this->pipeline()); |
size_t vertexStride = gp->getVertexStride(); |