| Index: src/gpu/effects/GrRRectEffect.cpp
|
| diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp
|
| index 11d8a18e616a8cb4476ab126112ac06c59762587..33291ed5b3d35c4355b989cd2571ea96a439d614 100644
|
| --- a/src/gpu/effects/GrRRectEffect.cpp
|
| +++ b/src/gpu/effects/GrRRectEffect.cpp
|
| @@ -81,8 +81,7 @@ GrEffectRef* CircularRRectEffect::Create(GrEffectEdgeType edgeType,
|
| if (kFillAA_GrEffectEdgeType != edgeType && kInverseFillAA_GrEffectEdgeType != edgeType) {
|
| return NULL;
|
| }
|
| - return CreateEffectRef(AutoEffectUnref(SkNEW_ARGS(CircularRRectEffect,
|
| - (edgeType, circularCornerFlags, rrect))));
|
| + return SkNEW_ARGS(CircularRRectEffect, (edgeType, circularCornerFlags, rrect));
|
| }
|
|
|
| void CircularRRectEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const {
|
| @@ -416,7 +415,7 @@ GrEffectRef* EllipticalRRectEffect::Create(GrEffectEdgeType edgeType, const SkRR
|
| if (kFillAA_GrEffectEdgeType != edgeType && kInverseFillAA_GrEffectEdgeType != edgeType) {
|
| return NULL;
|
| }
|
| - return CreateEffectRef(AutoEffectUnref(SkNEW_ARGS(EllipticalRRectEffect, (edgeType, rrect))));
|
| + return SkNEW_ARGS(EllipticalRRectEffect, (edgeType, rrect));
|
| }
|
|
|
| void EllipticalRRectEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const {
|
|
|