aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFDocument.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-03-21 14:33:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-21 14:33:17 -0700
commit989da4a32cd6823359f31c971c3b3f31425e905e (patch)
tree0ff6449e003fdbd7413bc5604b16f2a2a4c878dc /src/pdf/SkPDFDocument.h
parent2cab66be9c47660da6a2cc94b469c14d5bed958e (diff)
SkPDF: SkPDFDevice has ptr to SkPDFDocument
This is necessary for pre-serialization of images. BUG=skia:5087 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1802963002 Review URL: https://codereview.chromium.org/1802963002
Diffstat (limited to 'src/pdf/SkPDFDocument.h')
-rw-r--r--src/pdf/SkPDFDocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h
index de1d8830bc..0528d76e1a 100644
--- a/src/pdf/SkPDFDocument.h
+++ b/src/pdf/SkPDFDocument.h
@@ -11,6 +11,8 @@
#include "SkPDFMetadata.h"
#include "SkPDFTypes.h"
+class SkPDFDevice;
+
sk_sp<SkDocument> SkPDFMakeDocument(
SkWStream* stream,
void (*doneProc)(SkWStream*, bool),