Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index adee4aec966bdd7acd12b2f994190b7188b19b3e..f4298eb4a0c6c7934488af89d99e05d7a838e472 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -345,7 +345,7 @@ bool GrDashingEffect::DrawDashLine(const SkPoint pts[2], const GrPaint& paint, |
bool isRoundCap = SkPaint::kRound_Cap == cap; |
GrDashingEffect::DashCap capType = isRoundCap ? GrDashingEffect::kRound_DashCap : |
GrDashingEffect::kNonRound_DashCap; |
- drawState->addCoverageEffect( |
+ drawState->setGeometryProcessor( |
GrDashingEffect::Create(edgeType, devInfo, strokeWidth, capType), 1)->unref(); |
} |