diff options
author | mtklein <mtklein@chromium.org> | 2015-02-19 08:29:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-19 08:29:24 -0800 |
commit | cabc08c4296e1ce6c6d9d84cf702361cf439c1bc (patch) | |
tree | 33ae47172729313ea784951a11cebe1541c4bf3a /src/pdf/SkPDFDocument.h | |
parent | ce07afb8fad3dd29f6d253ce83744853c10069c7 (diff) |
PDF: why do we have flags no one uses (or can use)?
BUG=skia:
Review URL: https://codereview.chromium.org/936403002
Diffstat (limited to 'src/pdf/SkPDFDocument.h')
-rw-r--r-- | src/pdf/SkPDFDocument.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h index 07738a210b..6644d96d54 100644 --- a/src/pdf/SkPDFDocument.h +++ b/src/pdf/SkPDFDocument.h @@ -29,18 +29,7 @@ template <typename T> class SkTSet; */ class SkPDFDocument { public: - enum Flags { - kNoCompression_Flags = 0x01, //!< DEPRECATED. - kFavorSpeedOverSize_Flags = 0x01, //!< Don't compress the stream, but - // if it is already compressed return - // the compressed stream. - kNoLinks_Flags = 0x02, //!< do not honor link annotations. - - kDraftMode_Flags = 0x01, - }; - /** Create a PDF document. - */ - explicit SK_API SkPDFDocument(Flags flags = (Flags)0); + SK_API SkPDFDocument(); SK_API ~SkPDFDocument(); /** Output the PDF to the passed stream. It is an error to call this (it |