| Index: src/gpu/GrAAHairLinePathRenderer.cpp
|
| diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
|
| index 0014bbe4a04c268af8c8a248e8af12fcd7e945f6..d5ff40d9551d364d878c89327b29913c340295b2 100644
|
| --- a/src/gpu/GrAAHairLinePathRenderer.cpp
|
| +++ b/src/gpu/GrAAHairLinePathRenderer.cpp
|
| @@ -997,8 +997,8 @@ bool GrAAHairLinePathRenderer::onDrawPath(const SkPath& path,
|
| kVertsPerQuad * quadCnt + kVertsPerQuad * conicCnt));
|
|
|
| if (quadCnt > 0) {
|
| - GrEffectRef* hairQuadEffect = GrQuadEffect::Create(kHairlineAA_GrEffectEdgeType,
|
| - *target->caps());
|
| + GrEffect* hairQuadEffect = GrQuadEffect::Create(kHairlineAA_GrEffectEdgeType,
|
| + *target->caps());
|
| SkASSERT(NULL != hairQuadEffect);
|
| GrDrawState::AutoRestoreEffects are(drawState);
|
| target->setIndexSourceToBuffer(fQuadsIndexBuffer);
|
| @@ -1018,8 +1018,8 @@ bool GrAAHairLinePathRenderer::onDrawPath(const SkPath& path,
|
|
|
| if (conicCnt > 0) {
|
| GrDrawState::AutoRestoreEffects are(drawState);
|
| - GrEffectRef* hairConicEffect = GrConicEffect::Create(kHairlineAA_GrEffectEdgeType,
|
| - *target->caps());
|
| + GrEffect* hairConicEffect = GrConicEffect::Create(kHairlineAA_GrEffectEdgeType,
|
| + *target->caps());
|
| SkASSERT(NULL != hairConicEffect);
|
| drawState->addCoverageEffect(hairConicEffect, 1, 2)->unref();
|
| int conics = 0;
|
|
|