Index: src/gpu/GrStrokeRectBatch.cpp |
diff --git a/src/gpu/GrStrokeRectBatch.cpp b/src/gpu/GrStrokeRectBatch.cpp |
index 4754e68b30c6ec32d5f09bb7f4caaccaf9ab27f5..c850fb7d9ae9f61bbec331ef6c1dee547796b3e3 100644 |
--- a/src/gpu/GrStrokeRectBatch.cpp |
+++ b/src/gpu/GrStrokeRectBatch.cpp |
@@ -66,7 +66,7 @@ static void init_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScal |
} |
-void GrStrokeRectBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) { |
+void GrStrokeRectBatch::generateGeometry(GrBatchTarget* batchTarget) { |
SkAutoTUnref<const GrGeometryProcessor> gp; |
{ |
using namespace GrDefaultGeoProcFactory; |
@@ -79,7 +79,7 @@ void GrStrokeRectBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPip |
this->viewMatrix())); |
} |
- batchTarget->initDraw(gp, pipeline); |
+ batchTarget->initDraw(gp, this->pipeline()); |
size_t vertexStride = gp->getVertexStride(); |