Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index 771d2fa0d30590a6bfedea461fe583b0c05e29de..d4a111e64b512c52b202f55e7d4bf467feff6396 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -237,8 +237,7 @@ class GLColorTableEffect; |
class ColorTableEffect : public GrEffect { |
public: |
static GrEffectRef* Create(GrTexture* texture, unsigned flags) { |
- AutoEffectUnref effect(SkNEW_ARGS(ColorTableEffect, (texture, flags))); |
- return CreateEffectRef(effect); |
+ return SkNEW_ARGS(ColorTableEffect, (texture, flags)); |
} |
virtual ~ColorTableEffect(); |