| Index: src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| index 866f4a66b5c9ca6b9f6d27d883191d806de4fe0e..539b4ac186652111ff8de471b2638c34aef9b96f 100644
|
| --- a/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| +++ b/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| @@ -17,8 +17,7 @@ namespace {
|
| class YUVtoRGBEffect : public GrEffect {
|
| public:
|
| static GrEffect* Create(GrTexture* yTexture, GrTexture* uTexture, GrTexture* vTexture) {
|
| - AutoEffectUnref effect(SkNEW_ARGS(YUVtoRGBEffect, (yTexture, uTexture, vTexture)));
|
| - return CreateEffectRef(effect);
|
| + return SkNEW_ARGS(YUVtoRGBEffect, (yTexture, uTexture, vTexture));
|
| }
|
|
|
| static const char* Name() { return "YUV to RGB"; }
|
|
|