| Index: src/gpu/effects/GrOvalEffect.cpp
|
| diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp
|
| index f2ee27880f58411361b23f153bba515ae7daadc7..678abd0c381746c569404746d5d85efbe1b22bc2 100644
|
| --- a/src/gpu/effects/GrOvalEffect.cpp
|
| +++ b/src/gpu/effects/GrOvalEffect.cpp
|
| @@ -53,8 +53,7 @@ GrEffectRef* CircleEffect::Create(GrEffectEdgeType edgeType,
|
| const SkPoint& center,
|
| SkScalar radius) {
|
| SkASSERT(radius >= 0);
|
| - return CreateEffectRef(AutoEffectUnref(SkNEW_ARGS(CircleEffect,
|
| - (edgeType, center, radius))));
|
| + return SkNEW_ARGS(CircleEffect, (edgeType, center, radius));
|
| }
|
|
|
| void CircleEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const {
|
| @@ -225,8 +224,7 @@ GrEffectRef* EllipseEffect::Create(GrEffectEdgeType edgeType,
|
| SkScalar rx,
|
| SkScalar ry) {
|
| SkASSERT(rx >= 0 && ry >= 0);
|
| - return CreateEffectRef(AutoEffectUnref(SkNEW_ARGS(EllipseEffect,
|
| - (edgeType, center, rx, ry))));
|
| + return SkNEW_ARGS(EllipseEffect, (edgeType, center, rx, ry));
|
| }
|
|
|
| void EllipseEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const {
|
|
|