Doc: update dev/design/pdftheory with new function call

NOTRY=true
TBR=

Review URL: https://codereview.chromium.org/967873002
This commit is contained in:
halcanary 2015-02-28 08:04:33 -08:00 committed by Commit bot
parent 0b70b86a7e
commit 1139889eb3

View File

@ -56,8 +56,9 @@ longer document with a bunch of other pages.
<!--?prettify lang=cc?-->
SkPDFCanon canon;
SkAutoUnref<SkPDFDevice> pdfDevice(
new SkPDFDevice(width, height, initial_transform));
SkPDFDevice::Create(SkISize::Make(width, height), 72.0f, &canon));
SkCanvas canvas(pdfDevice);
draw_content(&canvas);