diff options
author | 2011-07-20 18:43:19 +0000 | |
---|---|---|
committer | 2011-07-20 18:43:19 +0000 | |
commit | 1feb33068b1313d2647c50b90ae8e0a3d510db2e (patch) | |
tree | 09f03935f8010baead080e9d77d761e690116019 /include/pdf | |
parent | 06f7f4051eeb299cb15b308edabd17344c183a36 (diff) |
replace SkRefPtr for parameters with simple pointers
git-svn-id: http://skia.googlecode.com/svn/trunk@1913 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf')
-rw-r--r-- | include/pdf/SkPDFDevice.h | 4 | ||||
-rw-r--r-- | include/pdf/SkPDFDocument.h | 4 | ||||
-rw-r--r-- | include/pdf/SkPDFPage.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h index 4c526d2291..7a3e7bb7f1 100644 --- a/include/pdf/SkPDFDevice.h +++ b/include/pdf/SkPDFDevice.h @@ -123,9 +123,9 @@ public: // PDF specific methods. - /** Returns a reference to the resource dictionary for this device. + /** Returns the resource dictionary for this device. */ - SK_API const SkRefPtr<SkPDFDict>& getResourceDict(); + SK_API SkPDFDict* getResourceDict(); /** Get the list of resources (PDF objects) used on this page. * @param resourceList A list to append the resources to. diff --git a/include/pdf/SkPDFDocument.h b/include/pdf/SkPDFDocument.h index 1a5d8354e9..3f171f5f27 100644 --- a/include/pdf/SkPDFDocument.h +++ b/include/pdf/SkPDFDocument.h @@ -60,14 +60,14 @@ 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, const SkRefPtr<SkPDFDevice>& pdfDevice); + SK_API 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(const SkRefPtr<SkPDFDevice>& pdfDevice); + SK_API bool appendPage(SkPDFDevice* pdfDevice); /** Get the list of pages in this document. */ diff --git a/include/pdf/SkPDFPage.h b/include/pdf/SkPDFPage.h index 2a0fe166f3..a3978744e7 100644 --- a/include/pdf/SkPDFPage.h +++ b/include/pdf/SkPDFPage.h @@ -37,7 +37,7 @@ public: * have content on it yet. * @param content The page content. */ - explicit SkPDFPage(const SkRefPtr<SkPDFDevice>& content); + explicit SkPDFPage(SkPDFDevice* content); ~SkPDFPage(); /** Before a page and its contents can be sized and emitted, it must |