Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 38e6f33b38be1032f60c97d42e926a69317eca12..bb60d0f06128e31105036d09a1c4ad2c3364413e 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -493,8 +493,7 @@ public: |
const SkRadialGradient& shader, |
const SkMatrix& matrix, |
SkShader::TileMode tm) { |
- AutoEffectUnref effect(SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm))); |
- return CreateEffectRef(effect); |
+ return SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm)); |
} |
virtual ~GrRadialGradient() { } |