Index: src/pdf/SkPDFCatalog.cpp |
diff --git a/src/pdf/SkPDFCatalog.cpp b/src/pdf/SkPDFCatalog.cpp |
index ab5d510861ba7b14afeb4e710d0aafe478344712..4069cc9762e345b8460ced9f1b3f605b9ae99de7 100644 |
--- a/src/pdf/SkPDFCatalog.cpp |
+++ b/src/pdf/SkPDFCatalog.cpp |
@@ -21,6 +21,7 @@ bool SkPDFCatalog::addObject(SkPDFObject* obj) { |
return false; |
} |
fObjectNumbers.set(obj, fObjectNumbers.count() + 1); |
+ fObjects.push(obj); |
return true; |
} |