Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: src/pdf/SkPDFDocument.h

Issue 1892203002: Revert of SkPDF: PDF/A runtime switch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pdf/SkPDFDevice.cpp ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/pdf/SkPDFDevice.cpp ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698