| Index: src/gpu/GrDefaultPathRenderer.cpp
|
| diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp
|
| index 07f92086a2faeeb5350d717b5323dadae55fffdb..24d3c456cb34edaa5edf03a4e50027194ebacf1e 100644
|
| --- a/src/gpu/GrDefaultPathRenderer.cpp
|
| +++ b/src/gpu/GrDefaultPathRenderer.cpp
|
| @@ -498,13 +498,12 @@
|
| drawState->enableState(GrDrawState::kNoColorWrites_StateBit);
|
| }
|
| GrDrawState::AutoRestoreEffects are(drawState);
|
| - SkAutoTUnref<const GrGeometryProcessor> gp(
|
| + drawState->setGeometryProcessor(
|
| GrDefaultGeoProcFactory::Create(color,
|
| GrDefaultGeoProcFactory::kPosition_GPType,
|
| - newCoverage));
|
| + newCoverage))->unref();
|
| if (indexCnt) {
|
| target->drawIndexed(drawState,
|
| - gp,
|
| primType,
|
| 0,
|
| 0,
|
| @@ -512,7 +511,7 @@
|
| indexCnt,
|
| &devBounds);
|
| } else {
|
| - target->drawNonIndexed(drawState, gp, primType, 0, vertexCnt, &devBounds);
|
| + target->drawNonIndexed(drawState, primType, 0, vertexCnt, &devBounds);
|
| }
|
| }
|
| }
|
|
|