Index: tools/fiddle/fiddle_main.cpp |
diff --git a/tools/fiddle/fiddle_main.cpp b/tools/fiddle/fiddle_main.cpp |
index 3e1570813d0d5d4954bb0aadfa5b44d60fc8cfb3..bf7a032b446aaf39cf3fa09cd69330d5887c75f0 100644 |
--- a/tools/fiddle/fiddle_main.cpp |
+++ b/tools/fiddle/fiddle_main.cpp |
@@ -137,7 +137,7 @@ int main() { |
} |
if (options.pdf) { |
SkDynamicMemoryWStream pdfStream; |
- sk_sp<SkDocument> document(SkDocument::CreatePDF(&pdfStream)); |
+ sk_sp<SkDocument> document(SkDocument::MakePDF(&pdfStream)); |
draw(document->beginPage(options.size.width(), options.size.height())); |
document->close(); |
pdfData.reset(pdfStream.copyToData()); |