Index: src/pdf/SkPDFCatalog.h |
diff --git a/src/pdf/SkPDFCatalog.h b/src/pdf/SkPDFCatalog.h |
index 54d08c5e24646c25f8d64067e733d6189f72f5de..3609f3cbdb38d83ea7ff757d6171ffdf882b7392 100644 |
--- a/src/pdf/SkPDFCatalog.h |
+++ b/src/pdf/SkPDFCatalog.h |
@@ -45,7 +45,10 @@ public: |
*/ |
SkPDFObject* getSubstituteObject(SkPDFObject* object) const; |
+ const SkTDArray<SkPDFObject*>& objects() const { return fObjects; } |
+ |
private: |
+ SkTDArray<SkPDFObject*> fObjects; |
SkTHashMap<SkPDFObject*, int32_t> fObjectNumbers; |
SkTHashMap<SkPDFObject*, SkPDFObject*> fSubstituteMap; |
}; |