From 1139889eb36937d2934c4b2ea91520b7f87d295b Mon Sep 17 00:00:00 2001 From: halcanary Date: Sat, 28 Feb 2015 08:04:33 -0800 Subject: Doc: update dev/design/pdftheory with new function call NOTRY=true TBR= Review URL: https://codereview.chromium.org/967873002 --- site/dev/design/pdftheory.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'site/dev') diff --git a/site/dev/design/pdftheory.md b/site/dev/design/pdftheory.md index 6d90f2b5d9..d45cfe2a7f 100644 --- a/site/dev/design/pdftheory.md +++ b/site/dev/design/pdftheory.md @@ -56,8 +56,9 @@ longer document with a bunch of other pages. + SkPDFCanon canon; SkAutoUnref pdfDevice( - new SkPDFDevice(width, height, initial_transform)); + SkPDFDevice::Create(SkISize::Make(width, height), 72.0f, &canon)); SkCanvas canvas(pdfDevice); draw_content(&canvas); -- cgit v1.2.3