Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: src/pdf/SkPDFCatalog.h

Issue 870333002: Simplify reference management in SkPDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-02-10 (Tuesday) 11:05:24 EST Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFCatalog.cpp » ('j') | src/pdf/SkPDFCatalog.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFCatalog.h
diff --git a/src/pdf/SkPDFCatalog.h b/src/pdf/SkPDFCatalog.h
index ecefd0a0728ab4252ac42f711cd2937f01e7663d..535997f29f14b36b5dc008f3e7f7a92e34603c19 100644
--- a/src/pdf/SkPDFCatalog.h
+++ b/src/pdf/SkPDFCatalog.h
@@ -49,12 +49,6 @@ public:
*/
void emitObjectNumber(SkWStream* stream, SkPDFObject* obj);
- /** Return the number of bytes that would be emitted for the passed
- * object's object number.
- * @param obj The object of interest
- */
- size_t getObjectNumberSize(SkPDFObject* obj);
-
/** Return the document flags in effect for this catalog/document.
*/
SkPDFDocument::Flags getDocumentFlags() const { return fDocumentFlags; }
@@ -76,10 +70,6 @@ public:
*/
SkPDFObject* getSubstituteObject(SkPDFObject* object);
- /** get the resources of substitute objects.
- */
- SkTSet<SkPDFObject*>* getSubstituteList(bool firstPage);
-
private:
struct Rec {
Rec(SkPDFObject* object, bool onFirstPage)
@@ -119,7 +109,7 @@ private:
SkPDFDocument::Flags fDocumentFlags;
- int findObjectIndex(SkPDFObject* obj) const;
+ int findObjectIndex(SkPDFObject* obj);
int assignObjNum(SkPDFObject* obj);
};
« no previous file with comments | « no previous file | src/pdf/SkPDFCatalog.cpp » ('j') | src/pdf/SkPDFCatalog.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698