Index: tests/ImageDecodingTest.cpp |
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp |
index 1348ded448e97b1cb81549775fdd775f6465bb85..971c3e791fc23e38d5b6d6f64b8d79773db7a324 100644 |
--- a/tests/ImageDecodingTest.cpp |
+++ b/tests/ImageDecodingTest.cpp |
@@ -742,8 +742,7 @@ DEF_TEST(ImageDecoding_JpegOverwrite, r) { |
pixels[pixelCount] = sentinal; // This value should not be changed. |
SkAutoTUnref<SingleAllocator> allocator( |
- SkNEW_ARGS(SingleAllocator, |
- ((void*)pixels.get(), sizeof(uint16_t) * pixelCount))); |
+ new SingleAllocator((void*)pixels.get(), sizeof(uint16_t) * pixelCount)); |
decoder->setAllocator(allocator); |
decoder->setSampleSize(2); |
SkBitmap bitmap; |