Index: tests/PDFPrimitivesTest.cpp |
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp |
index 2ee90b98bd7f84f5347d11922ff25a76fa5331f4..6d89dd1585c8ad299dfe8d6a5abad22ab70cd026 100644 |
--- a/tests/PDFPrimitivesTest.cpp |
+++ b/tests/PDFPrimitivesTest.cpp |
@@ -112,7 +112,7 @@ static void TestPDFStream(skiatest::Reporter* reporter) { |
compressedByteStream.writeToStream(&expected); |
compressedByteStream.reset(); |
expected.writeText("\nendstream"); |
- SkAutoDataUnref expectedResultData2(expected.copyToData()); |
+ sk_sp<SkData> expectedResultData2(expected.copyToData()); |
SkString result = emit_to_string(*stream); |
assert_eql(reporter, |
result, |