| Index: src/gpu/effects/GrTextureDomain.cpp
|
| diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp
|
| index e5ae18c961247809617ef13f85d77a78ec90d8f3..c1f9ef03a95b7719749c953f082687f2d4e55cc1 100644
|
| --- a/src/gpu/effects/GrTextureDomain.cpp
|
| +++ b/src/gpu/effects/GrTextureDomain.cpp
|
| @@ -227,14 +227,8 @@ GrFragmentProcessor* GrTextureDomainEffect::Create(GrProcessorDataManager* procD
|
| (GrTextureDomain::kClamp_Mode == mode && domain.contains(kFullRect))) {
|
| return GrSimpleTextureEffect::Create(procDataManager, texture, matrix, filterMode);
|
| } else {
|
| -
|
| - return SkNEW_ARGS(GrTextureDomainEffect, (procDataManager,
|
| - texture,
|
| - matrix,
|
| - domain,
|
| - mode,
|
| - filterMode,
|
| - coordSet));
|
| + return new GrTextureDomainEffect(procDataManager, texture, matrix, domain, mode, filterMode,
|
| + coordSet);
|
| }
|
| }
|
|
|
| @@ -262,7 +256,7 @@ void GrTextureDomainEffect::onGetGLProcessorKey(const GrGLSLCaps& caps,
|
| }
|
|
|
| GrGLFragmentProcessor* GrTextureDomainEffect::onCreateGLInstance() const {
|
| - return SkNEW_ARGS(GrGLTextureDomainEffect, (*this));
|
| + return new GrGLTextureDomainEffect(*this);
|
| }
|
|
|
| bool GrTextureDomainEffect::onIsEqual(const GrFragmentProcessor& sBase) const {
|
|
|