| Index: tests/AnnotationTest.cpp
|
| diff --git a/tests/AnnotationTest.cpp b/tests/AnnotationTest.cpp
|
| index d9d971a7a0dd87fac943b49b3adc9c2dfd65088e..400d4887bdfef056d32ac5fc8eabf9f1d7a7d448 100644
|
| --- a/tests/AnnotationTest.cpp
|
| +++ b/tests/AnnotationTest.cpp
|
| @@ -41,7 +41,7 @@ DEF_TEST(Annotation_NoDraw, reporter) {
|
| DEF_TEST(Annotation_PdfLink, reporter) {
|
| REQUIRE_PDF_DOCUMENT(Annotation_PdfLink, reporter);
|
| SkDynamicMemoryWStream outStream;
|
| - SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream));
|
| + sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream));
|
| SkCanvas* canvas = doc->beginPage(612.0f, 792.0f);
|
| REPORTER_ASSERT(reporter, canvas);
|
|
|
| @@ -60,7 +60,7 @@ DEF_TEST(Annotation_PdfLink, reporter) {
|
| DEF_TEST(Annotation_NamedDestination, reporter) {
|
| REQUIRE_PDF_DOCUMENT(Annotation_NamedDestination, reporter);
|
| SkDynamicMemoryWStream outStream;
|
| - SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream));
|
| + sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream));
|
| SkCanvas* canvas = doc->beginPage(612.0f, 792.0f);
|
| REPORTER_ASSERT(reporter, canvas);
|
|
|
|
|