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

Unified Diff: src/pdf/SkPDFDevice.cpp

Issue 1891873002: SkPDF: PDF/A runtime switch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-04-21 (Thursday) 16:21:36 EDT 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/core/SkMD5.cpp ('k') | src/pdf/SkPDFDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFDevice.cpp
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
index 5c933ee7d570232b415be8186771fb070631ff80..fb4d2510b76b553cda415c7be709e83a509b629f 100644
--- a/src/pdf/SkPDFDevice.cpp
+++ b/src/pdf/SkPDFDevice.cpp
@@ -827,9 +827,7 @@ void SkPDFDevice::drawPoints(const SkDraw& d,
static sk_sp<SkPDFDict> create_link_annotation(const SkRect& translatedRect) {
auto annotation = sk_make_sp<SkPDFDict>("Annot");
annotation->insertName("Subtype", "Link");
- #ifdef SK_PDF_GENERATE_PDFA
- annotation->insertInt("F", 4); // required by ISO 19005
- #endif
+ annotation->insertInt("F", 4); // required by ISO 19005
auto border = sk_make_sp<SkPDFArray>();
border->reserve(3);
« no previous file with comments | « src/core/SkMD5.cpp ('k') | src/pdf/SkPDFDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698