Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index afb09b9539c678f6217ec8be6382f5f62efc9b00..bb20e80f7483865bbda0092b37a21b6be148f55d 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -298,7 +298,7 @@ public: |
bool fHasEndRect; |
}; |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
+ void generateGeometry(GrBatchTarget* batchTarget) override { |
int instanceCount = fGeoData.count(); |
SkPaint::Cap cap = this->cap(); |
bool isRoundCap = SkPaint::kRound_Cap == cap; |
@@ -324,7 +324,7 @@ public: |
return; |
} |
- batchTarget->initDraw(gp, pipeline); |
+ batchTarget->initDraw(gp, this->pipeline()); |
// useAA here means Edge AA or MSAA |
bool useAA = this->aaMode() != kBW_DashAAMode; |