Index: tests/PDFInvalidBitmapTest.cpp |
diff --git a/tests/PDFInvalidBitmapTest.cpp b/tests/PDFInvalidBitmapTest.cpp |
index 57e51f07c4fd1548644d6f22adc11dd2a78b3de7..c9685f789341b85cb871261dc065336bfcb4518a 100644 |
--- a/tests/PDFInvalidBitmapTest.cpp |
+++ b/tests/PDFInvalidBitmapTest.cpp |
@@ -45,7 +45,7 @@ SkBitmap make_invalid_bitmap(SkColorType colorType) { |
DEF_TEST(PDFInvalidBitmap, reporter) { |
SkDynamicMemoryWStream stream; |
- SkAutoTUnref<SkDocument> document(SkDocument::CreatePDF(&stream)); |
+ sk_sp<SkDocument> document(SkDocument::MakePDF(&stream)); |
SkCanvas* canvas = document->beginPage(100, 100); |
canvas->drawBitmap(SkBitmap(), 0, 0); |