Index: src/gpu/effects/GrSimpleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp |
index 0bd1fcdefc5bea8f8d40b1668bea1dba91f4e47f..fb7c3a7b2369dc36af2d7607004217a02e535b48 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp |
@@ -43,7 +43,7 @@ void GrSimpleTextureEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLFragmentProcessor* GrSimpleTextureEffect::onCreateGLInstance() const { |
- return SkNEW_ARGS(GrGLSimpleTextureEffect, (*this)); |
+ return new GrGLSimpleTextureEffect(*this); |
} |
/////////////////////////////////////////////////////////////////////////////// |