| Index: src/gpu/batches/GrAAStrokeRectBatch.cpp
|
| diff --git a/src/gpu/batches/GrAAStrokeRectBatch.cpp b/src/gpu/batches/GrAAStrokeRectBatch.cpp
|
| index 2ce5eca7a6b4e2244f842f084f4ca73e37d36c52..c0faa50e7fa3ddf22d1740ad144627171de26a8c 100644
|
| --- a/src/gpu/batches/GrAAStrokeRectBatch.cpp
|
| +++ b/src/gpu/batches/GrAAStrokeRectBatch.cpp
|
| @@ -192,8 +192,6 @@ void AAStrokeRectBatch::onPrepareDraws(Target* target) const {
|
| return;
|
| }
|
|
|
| - target->initDraw(gp);
|
| -
|
| size_t vertexStride = gp->getVertexStride();
|
|
|
| SkASSERT(canTweakAlphaForCoverage ?
|
| @@ -231,7 +229,7 @@ void AAStrokeRectBatch::onPrepareDraws(Target* target) const {
|
| args.fDegenerate,
|
| canTweakAlphaForCoverage);
|
| }
|
| - helper.recordDraw(target);
|
| + helper.recordDraw(target, gp);
|
| }
|
|
|
| const GrBuffer* AAStrokeRectBatch::GetIndexBuffer(GrResourceProvider* resourceProvider,
|
|
|