| Index: src/effects/SkColorMatrixFilter.cpp
|
| diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp
|
| index bd1df79d14f6ede472742c0544755b027f12d755..b3b9c295ab5e406a87b82c57fada294decd6c9b7 100644
|
| --- a/src/effects/SkColorMatrixFilter.cpp
|
| +++ b/src/effects/SkColorMatrixFilter.cpp
|
| @@ -331,8 +331,7 @@ bool SkColorMatrixFilter::asColorMatrix(SkScalar matrix[20]) const {
|
| class ColorMatrixEffect : public GrEffect {
|
| public:
|
| static GrEffectRef* Create(const SkColorMatrix& matrix) {
|
| - AutoEffectUnref effect(SkNEW_ARGS(ColorMatrixEffect, (matrix)));
|
| - return CreateEffectRef(effect);
|
| + return SkNEW_ARGS(ColorMatrixEffect, (matrix));
|
| }
|
|
|
| static const char* Name() { return "Color Matrix"; }
|
|
|