Revert of Remove calls to deprecated SkPDFDevice and SkPDFDocuemnt. (patchset #4...
commitd054bfdd5eb4a364d1aa7dbf139018d3b9b885b3
authorvitalybuka <vitalybuka@chromium.org>
Tue, 18 Nov 2014 01:25:59 +0000 (17 17:25 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Nov 2014 01:26:13 +0000 (18 01:26 +0000)
tree1eeefe8b06f17c883921e5ef3818b51a38b882b7
parent76c3721a7142d3abec14f849c583a4a9d8c593c8
Revert of Remove calls to deprecated SkPDFDevice and SkPDFDocuemnt. (patchset #4 id:370001 of https://codereview.chromium.org/694213002/)

Reason for revert:
Breaks printing.
BUG=434079

Original issue's description:
> Remove calls to deprecated SkPDFDevice and SkPDFDocuemnt.
>
> In the PdfMetafileSkia class, Instead of storing a
> SkPDFDocument, store a vector of pages as
> SkPictures.  This allows access to individual at any
> time.  When FinishDocument() is called, use the
> SkDocument API to print all pages to PDF.
>
> BUG=278148
>
> Committed: https://crrev.com/816b7105b078f7300f825cd81f379e312efdb821
> Cr-Commit-Position: refs/heads/master@{#304379}

TBR=robertphillips@google.com,reed@google.com,halcanary@google.com
BUG=278148

Review URL: https://codereview.chromium.org/731143004

Cr-Commit-Position: refs/heads/master@{#304536}
printing/pdf_metafile_skia.cc