- static GrEffectRef* Create(GrTexture* texture,
- GrTexture* maskTexture,
- float innerThreshold,
- float outerThreshold) {
- AutoEffectUnref effect(SkNEW_ARGS(AlphaThresholdEffect, (texture,
- maskTexture,
- innerThreshold,
- outerThreshold)));
- return CreateEffectRef(effect);
+ static GrEffect* Create(GrTexture* texture,
+ GrTexture* maskTexture,
+ float innerThreshold,
+ float outerThreshold) {
+ return SkNEW_ARGS(AlphaThresholdEffect, (texture,
+ maskTexture,
+ innerThreshold,
+ outerThreshold));