| Index: src/pdf/SkPDFPage.h
|
| diff --git a/src/pdf/SkPDFPage.h b/src/pdf/SkPDFPage.h
|
| index 47573c7438d80c1ca60916e8f9060a6a1380fee7..38cc5c45e59bb2e23f63222639a87a57b0636757 100644
|
| --- a/src/pdf/SkPDFPage.h
|
| +++ b/src/pdf/SkPDFPage.h
|
| @@ -56,21 +56,6 @@ public:
|
| */
|
| void appendDestinations(SkPDFDict* dict);
|
|
|
| - /** Determine the size of the page content and store to the catalog
|
| - * the offsets of all nonresource-indirect objects that make up the page
|
| - * content. This must be called before emitPage(), but after finalizePage.
|
| - * @param catalog The catalog to add the object offsets to.
|
| - * @param fileOffset The file offset where the page content will be
|
| - * emitted.
|
| - */
|
| - off_t getPageSize(SkPDFCatalog* catalog, off_t fileOffset);
|
| -
|
| - /** Output the page content to the passed stream.
|
| - * @param stream The writable output stream to send the content to.
|
| - * @param catalog The active object catalog.
|
| - */
|
| - void emitPage(SkWStream* stream, SkPDFCatalog* catalog);
|
| -
|
| /** Generate a page tree for the passed vector of pages. New objects are
|
| * added to the catalog. The pageTree vector is populated with all of
|
| * the 'Pages' dictionaries as well as the 'Page' objects. Page trees
|
| @@ -97,6 +82,8 @@ public:
|
| */
|
| const SkPDFGlyphSetMap& getFontGlyphUsage() const;
|
|
|
| + SkPDFObject* getContentStream() const;
|
| +
|
| private:
|
| // Multiple pages may reference the content.
|
| SkAutoTUnref<SkPDFDevice> fDevice;
|
|
|