Index: tests/PDFPrimitivesTest.cpp |
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp |
index 1d35c08cbb94d7a01580cc1636a55ecc919e1dec..8af806cbe72a4985e3d60fef7b18e5eb658d9b16 100644 |
--- a/tests/PDFPrimitivesTest.cpp |
+++ b/tests/PDFPrimitivesTest.cpp |
@@ -384,7 +384,7 @@ private: |
SkFlattenable* DummyImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 0); |
bool visited = buffer.readBool(); |
- return SkNEW_ARGS(DummyImageFilter, (visited)); |
+ return new DummyImageFilter(visited); |
} |
#ifndef SK_IGNORE_TO_STRING |