| Index: tests/CanvasTest.cpp
|
| diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
|
| index 284e3cdedb21cf12ce927ac212a85ee476fe2c00..f22b7d0e25a5ba803896c261486036ab959438a9 100644
|
| --- a/tests/CanvasTest.cpp
|
| +++ b/tests/CanvasTest.cpp
|
| @@ -570,7 +570,7 @@ static void TestPdfDevice(skiatest::Reporter* reporter,
|
| const TestData& d,
|
| CanvasTestStep* testStep) {
|
| SkDynamicMemoryWStream outStream;
|
| - SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(&outStream));
|
| + sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream));
|
| #if SK_SUPPORT_PDF
|
| REPORTER_ASSERT(reporter, doc);
|
| #else
|
|
|