Index: tests/PDFInvalidBitmapTest.cpp |
diff --git a/tests/PDFInvalidBitmapTest.cpp b/tests/PDFInvalidBitmapTest.cpp |
index 8a9b1fa132236c8412684e0eb6ba5713c20c3c58..57e51f07c4fd1548644d6f22adc11dd2a78b3de7 100644 |
--- a/tests/PDFInvalidBitmapTest.cpp |
+++ b/tests/PDFInvalidBitmapTest.cpp |
@@ -32,7 +32,7 @@ private: |
SkBitmap make_invalid_bitmap(const SkImageInfo& imageInfo) { |
SkBitmap bitmap; |
bitmap.setInfo(imageInfo); |
- bitmap.setPixelRef(SkNEW_ARGS(InvalidPixelRef, (imageInfo)))->unref(); |
+ bitmap.setPixelRef(new InvalidPixelRef(imageInfo))->unref(); |
return bitmap; |
} |