Index: src/gpu/effects/GrDitherEffect.cpp |
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp |
index 2b10ac0080e1d2e9cd13c6aa7e46311d82a44acc..33928a0d4c569cd01c741cd094eb8f2a7f129cdf 100644 |
--- a/src/gpu/effects/GrDitherEffect.cpp |
+++ b/src/gpu/effects/GrDitherEffect.cpp |
@@ -98,7 +98,7 @@ void DitherEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLFragmentProcessor* DitherEffect::onCreateGLInstance() const { |
- return SkNEW_ARGS(GLDitherEffect, (*this)); |
+ return new GLDitherEffect(*this); |
} |
GrFragmentProcessor* GrDitherEffect::Create() { return DitherEffect::Create(); } |