aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/shape
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-12-13 20:36:46 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-14 15:37:23 +0000
commitaf978a3428032b5c4b50ec7275d2158c31672662 (patch)
tree6b7cc98c97c31ce5da96e3dc7f03b25bada55dbc /tools/shape
parenta119425941bc392d87e41759798c512013944856 (diff)
pre-api change, preparing for expanding metadata
Bug: skia: Change-Id: I367c728172f24166fb7f06a6e22fe37adb8adc4f Reviewed-on: https://skia-review.googlesource.com/84880 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tools/shape')
-rw-r--r--tools/shape/using_skia_and_harfbuzz.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/shape/using_skia_and_harfbuzz.cpp b/tools/shape/using_skia_and_harfbuzz.cpp
index 3f1515fb1d..248160cda4 100644
--- a/tools/shape/using_skia_and_harfbuzz.cpp
+++ b/tools/shape/using_skia_and_harfbuzz.cpp
@@ -179,7 +179,6 @@ static sk_sp<SkDocument> MakePDFDocument(const Config &config,
pdf_info.fSubject = config.subject.value.c_str();
pdf_info.fKeywords = config.keywords.value.c_str();
pdf_info.fCreator = config.creator.value.c_str();
- bool pdfa = false;
#if 0
SkTime::DateTime now;
SkTime::GetDateTime(&now);
@@ -189,8 +188,7 @@ static sk_sp<SkDocument> MakePDFDocument(const Config &config,
pdf_info.fModified.fDateTime = now;
pdfa = true;
#endif
- return SkDocument::MakePDF(wStream, SK_ScalarDefaultRasterDPI, pdf_info,
- nullptr, pdfa);
+ return SkDocument::MakePDF(wStream, pdf_info);
}
int main(int argc, char **argv) {