Index: tests/PDFOpaqueSrcModeToSrcOverTest.cpp |
diff --git a/tests/PDFOpaqueSrcModeToSrcOverTest.cpp b/tests/PDFOpaqueSrcModeToSrcOverTest.cpp |
index 156856c0daa5d0ed43458a6440c79417bd4cf826..76796f5500bd84e38c6ca7679473a64871fb113a 100644 |
--- a/tests/PDFOpaqueSrcModeToSrcOverTest.cpp |
+++ b/tests/PDFOpaqueSrcModeToSrcOverTest.cpp |
@@ -10,7 +10,7 @@ |
#include "Test.h" |
static void run_test(SkWStream* out, SkXfermode::Mode mode, U8CPU alpha) { |
- SkAutoTUnref<SkDocument> pdfDoc(SkDocument::CreatePDF(out)); |
+ sk_sp<SkDocument> pdfDoc(SkDocument::MakePDF(out)); |
SkCanvas* c = pdfDoc->beginPage(612.0f, 792.0f); |
SkPaint black; |
SkPaint background; |