Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index 344c125f7ece46dbe875b77db8e16e173b9fd519..5aae3d928236de98ca4920656a19320e46f84660 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -358,8 +358,6 @@ private: |
return; |
} |
- target->initDraw(gp); |
- |
// useAA here means Edge AA or MSAA |
bool useAA = this->aaMode() != kBW_DashAAMode; |
bool fullDash = this->fullDash(); |
@@ -627,7 +625,7 @@ private: |
rectIndex++; |
} |
SkASSERT(0 == (curVIdx % 4) && (curVIdx / 4) == totalRectCount); |
- helper.recordDraw(target); |
+ helper.recordDraw(target, gp); |
} |
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override { |