diff options
author | 2017-12-14 23:03:12 -0500 | |
---|---|---|
committer | 2017-12-15 04:28:07 +0000 | |
commit | 7f846f273ceaa5a3a8880e9af260f94bd1e614b6 (patch) | |
tree | 906f4401c5af460f7cbeda628a5ed2733d2d5877 /src/pdf/SkPDFDocument.h | |
parent | a088365e2faca3f28469c0fc568169e095b5b1a0 (diff) |
remove SK_SUPPORT_LEGACY_PDF_PIXELSERIALIZER dead code
Bug: skia:
Change-Id: Ia88f3e2fdf6d5c6e5128eaefda0d68c7042ae7a2
Reviewed-on: https://skia-review.googlesource.com/85500
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/pdf/SkPDFDocument.h')
-rw-r--r-- | src/pdf/SkPDFDocument.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h index 7cfd0bd1c3..a13670a080 100644 --- a/src/pdf/SkPDFDocument.h +++ b/src/pdf/SkPDFDocument.h @@ -10,9 +10,6 @@ #include "SkDocument.h" #include "SkPDFCanon.h" #include "SkPDFMetadata.h" -#ifdef SK_SUPPORT_LEGACY_PDF_PIXELSERIALIZER -#include "SkPixelSerializer.h" -#endif #include "SkPDFFont.h" class SkPDFDevice; @@ -29,11 +26,7 @@ class SkPDFDevice; */ sk_sp<SkDocument> SkPDFMakeDocument(SkWStream* stream, void (*doneProc)(SkWStream*, bool), - const SkDocument::PDFMetadata& -#ifdef SK_SUPPORT_LEGACY_PDF_PIXELSERIALIZER - , sk_sp<SkPixelSerializer> = nullptr -#endif - ); + const SkDocument::PDFMetadata&); // Logically part of SkPDFDocument (like SkPDFCanon), but separate to // keep similar functionality together. @@ -60,11 +53,7 @@ class SkPDFDocument : public SkDocument { public: SkPDFDocument(SkWStream*, void (*)(SkWStream*, bool), - const SkDocument::PDFMetadata& -#ifdef SK_SUPPORT_LEGACY_PDF_PIXELSERIALIZER - , sk_sp<SkPixelSerializer> = nullptr -#endif - ); + const SkDocument::PDFMetadata&); ~SkPDFDocument() override; SkCanvas* onBeginPage(SkScalar, SkScalar) override; void onEndPage() override; |