| Index: src/gpu/effects/GrDashingEffect.cpp
|
| diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp
|
| index 344b93ff853fa25ef76219f1121dcd9573124ad1..f1e8016eb9c81890f2dec4ea19e06a25301c3ae1 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 {
|
|
|