Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index abc2417fd6f9cccc810e1fc47698021bb6c3c4d6..40188c575b8c00460a06c7a1178b1e8ff1ae6e82 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -446,14 +446,14 @@ public: |
fBatch.fCoverageIgnored = !init.readsCoverage(); |
} |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
+ void generateGeometry(GrBatchTarget* batchTarget) override { |
int colorOffset = -1, texOffset = -1; |
SkAutoTUnref<const GrGeometryProcessor> gp( |
set_vertex_attributes(this->hasLocalCoords(), this->hasColors(), &colorOffset, |
&texOffset, this->color(), this->viewMatrix(), |
this->coverageIgnored())); |
- batchTarget->initDraw(gp, pipeline); |
+ batchTarget->initDraw(gp, this->pipeline()); |
size_t vertexStride = gp->getVertexStride(); |