Index: src/gpu/effects/GrMatrixConvolutionEffect.h |
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.h b/src/gpu/effects/GrMatrixConvolutionEffect.h |
index f3d6b2461dacb2db5605db51f5a0b375f2dc0e51..0d6192db5d069949c7ffc524d11b3f3d3de46fdc 100644 |
--- a/src/gpu/effects/GrMatrixConvolutionEffect.h |
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.h |
@@ -28,16 +28,8 @@ public: |
const SkIPoint& kernelOffset, |
GrTextureDomain::Mode tileMode, |
bool convolveAlpha) { |
- return SkNEW_ARGS(GrMatrixConvolutionEffect, (procDataManager, |
- texture, |
- bounds, |
- kernelSize, |
- kernel, |
- gain, |
- bias, |
- kernelOffset, |
- tileMode, |
- convolveAlpha)); |
+ return new GrMatrixConvolutionEffect(procDataManager, texture, bounds, kernelSize, kernel, |
+ gain, bias, kernelOffset, tileMode, convolveAlpha); |
} |
static GrFragmentProcessor* CreateGaussian(GrProcessorDataManager*, |