summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_cross_ref_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_cross_ref_table.h')
-rw-r--r--core/fpdfapi/parser/cpdf_cross_ref_table.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/fpdfapi/parser/cpdf_cross_ref_table.h b/core/fpdfapi/parser/cpdf_cross_ref_table.h
index d8bda7125f..9631216b0c 100644
--- a/core/fpdfapi/parser/cpdf_cross_ref_table.h
+++ b/core/fpdfapi/parser/cpdf_cross_ref_table.h
@@ -60,12 +60,7 @@ class CPDF_CrossRefTable {
void Update(std::unique_ptr<CPDF_CrossRefTable> new_cross_ref);
- void ShrinkObjectMap(uint32_t max_size);
-
- // The total number of entries in the file’s cross-reference table, as
- // defined by the combination of the original section and all update
- // section.
- uint32_t GetSize() const;
+ void ShrinkObjectMap(uint32_t objnum);
private:
void UpdateInfo(std::map<uint32_t, ObjectInfo>&& new_objects_info);