Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index 26a2506b834ab2a3efa124036d944d7d3e5404dc..18cd3d12ac35e73ab5d380110ef0cc44252ea3ed 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -728,11 +728,12 @@ static GrBatch* create_batch(GrColor color, const SkMatrix& viewMatrix, const Sk |
} |
bool GrDashingEffect::DrawDashLine(GrDrawTarget* target, |
- GrPipelineBuilder* pipelineBuilder, GrColor color, |
+ const GrPipelineBuilder& pipelineBuilder, GrColor color, |
const SkMatrix& viewMatrix, const SkPoint pts[2], |
bool useAA, const GrStrokeInfo& strokeInfo) { |
- SkAutoTUnref<GrBatch> batch(create_batch(color, viewMatrix, pts, useAA, strokeInfo, |
- pipelineBuilder->getRenderTarget()->isUnifiedMultisampled())); |
+ SkAutoTUnref<GrBatch> batch( |
+ create_batch(color, viewMatrix, pts, useAA, strokeInfo, |
+ pipelineBuilder.getRenderTarget()->isUnifiedMultisampled())); |
if (!batch) { |
return false; |
} |