Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index c15d719a64212dc8a552dbd485e0d8a76dcd837a..f2aa0e94e9c3c14225633920631518ca0c5e39c8 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -80,7 +80,7 @@ SkFlattenable* MatrixTestImageFilter::CreateProc(SkReadBuffer& buffer) { |
skiatest::Reporter* reporter = (skiatest::Reporter*)buffer.readFunctionPtr(); |
SkMatrix matrix; |
buffer.readMatrix(&matrix); |
- return SkNEW_ARGS(MatrixTestImageFilter, (reporter, matrix)); |
+ return new MatrixTestImageFilter(reporter, matrix); |
} |
#ifndef SK_IGNORE_TO_STRING |