Index: tests/PDFPrimitivesTest.cpp |
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp |
index 3a4c6f6ab0b73b54eb97f1fae280107b558aeb19..3610dd958101381a0ea6eb30e4b5a4671b88b212 100644 |
--- a/tests/PDFPrimitivesTest.cpp |
+++ b/tests/PDFPrimitivesTest.cpp |
@@ -119,7 +119,7 @@ static void SimpleCheckObjectOutput(skiatest::Reporter* reporter, |
static void TestPDFStream(skiatest::Reporter* reporter) { |
char streamBytes[] = "Test\nFoo\tBar"; |
- SkAutoTUnref<SkMemoryStream> streamData(new SkMemoryStream( |
+ SkAutoTDelete<SkMemoryStream> streamData(new SkMemoryStream( |
streamBytes, strlen(streamBytes), true)); |
SkAutoTUnref<SkPDFStream> stream(new SkPDFStream(streamData.get())); |
SimpleCheckObjectOutput( |