diff options
author | halcanary <halcanary@google.com> | 2015-02-25 08:59:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-25 08:59:48 -0800 |
commit | 4e4e8160459f68c1795f2297bcec6f7866e01fa8 (patch) | |
tree | 39539d8c64f89e65b2cdc58d0eadf17c3c3992d2 /src/pdf/SkPDFDocument.h | |
parent | c78ae2d2bb4d828b0955b8c550d5a31b057e3a2b (diff) |
SkPDF: remove SK_API on no-longer-public functions.
CQ_INCLUDE_TRYBOTS=client.skia:Mac Builder-Trybot,Linux Builder-Trybot,Win Builder-Trybot
Review URL: https://codereview.chromium.org/953053002
Diffstat (limited to 'src/pdf/SkPDFDocument.h')
-rw-r--r-- | src/pdf/SkPDFDocument.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h index 6644d96d54..01290d034a 100644 --- a/src/pdf/SkPDFDocument.h +++ b/src/pdf/SkPDFDocument.h @@ -29,8 +29,8 @@ template <typename T> class SkTSet; */ class SkPDFDocument { public: - SK_API SkPDFDocument(); - SK_API ~SkPDFDocument(); + SkPDFDocument(); + ~SkPDFDocument(); /** Output the PDF to the passed stream. It is an error to call this (it * will return false and not modify stream) if no pages have been added @@ -39,7 +39,7 @@ public: * * @param stream The writable output stream to send the PDF to. */ - SK_API bool emitPDF(SkWStream* stream); + bool emitPDF(SkWStream* stream); /** Sets the specific page to the passed PDF device. If the specified * page is already set, this overrides it. Returns true if successful. @@ -48,24 +48,24 @@ public: * @param pageNumber The position to add the passed device (1 based). * @param pdfDevice The page to add to this document. */ - SK_API bool setPage(int pageNumber, SkPDFDevice* pdfDevice); + bool setPage(int pageNumber, SkPDFDevice* pdfDevice); /** Append the passed pdf device to the document as a new page. Returns * true if successful. Will fail if the document has already been emitted. * * @param pdfDevice The page to add to this document. */ - SK_API bool appendPage(SkPDFDevice* pdfDevice); + bool appendPage(SkPDFDevice* pdfDevice); /** Get the count of unique font types used in the document. * DEPRECATED. */ - SK_API void getCountOfFontTypes( + void getCountOfFontTypes( int counts[SkAdvancedTypefaceMetrics::kOther_Font + 2]) const; /** Get the count of unique font types used in the document. */ - SK_API void getCountOfFontTypes( + void getCountOfFontTypes( int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1], int* notSubsettableCount, int* notEmbedddableCount) const; |