Index: src/pdf/SkPDFDocument.h |
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h |
index f5e8a11d842860d0bac4e832bee81a2e7a69fe4f..da14e8d60ecdc07e62c65828664f99792dff6097 100644 |
--- a/src/pdf/SkPDFDocument.h |
+++ b/src/pdf/SkPDFDocument.h |
@@ -18,8 +18,7 @@ |
SkWStream* stream, |
void (*doneProc)(SkWStream*, bool), |
SkScalar rasterDpi, |
- SkPixelSerializer* jpegEncoder, |
- bool pdfa); |
+ SkPixelSerializer* jpegEncoder); |
// Logically part of SkPDFDocument (like SkPDFCanon), but separate to |
// keep similar functionality together. |
@@ -48,8 +47,7 @@ |
SkPDFDocument(SkWStream*, |
void (*)(SkWStream*, bool), |
SkScalar, |
- SkPixelSerializer*, |
- bool); |
+ SkPixelSerializer*); |
virtual ~SkPDFDocument(); |
SkCanvas* onBeginPage(SkScalar, SkScalar, const SkRect&) override; |
void onEndPage() override; |
@@ -81,11 +79,12 @@ |
sk_sp<SkPDFDict> fDests; |
sk_sp<SkPDFDevice> fPageDevice; |
sk_sp<SkCanvas> fCanvas; |
+ #ifdef SK_PDF_GENERATE_PDFA |
sk_sp<SkPDFObject> fID; |
sk_sp<SkPDFObject> fXMP; |
+ #endif |
SkScalar fRasterDpi; |
SkPDFMetadata fMetadata; |
- bool fPDFA; |
}; |
#endif // SkPDFDocument_DEFINED |