summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_array.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-03 11:23:32 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-03 18:40:11 +0000
commit6c740e29640ceb392c1845e120eaab6f981b6551 (patch)
tree42561a56ccfde0e783573553690eff89afea9a0a /core/fpdfapi/parser/cpdf_array.h
parentd24030d54c1fc2a2ae20551c5336335fbb8cd9b7 (diff)
downloadpdfium-6c740e29640ceb392c1845e120eaab6f981b6551.tar.xz
Remove CPDF_Array::Truncate().chromium/3176
The only non-test caller is gone. Change-Id: I261bc6d97c3047b2935d7b663c1a5f7d15670714 Reviewed-on: https://pdfium-review.googlesource.com/10010 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_array.h')
-rw-r--r--core/fpdfapi/parser/cpdf_array.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_array.h b/core/fpdfapi/parser/cpdf_array.h
index 2590971d80..ed5d3e33fd 100644
--- a/core/fpdfapi/parser/cpdf_array.h
+++ b/core/fpdfapi/parser/cpdf_array.h
@@ -100,9 +100,8 @@ class CPDF_Array : public CPDF_Object {
index, pdfium::MakeUnique<T>(m_pPool, std::forward<Args>(args)...)));
}
- void RemoveAt(size_t index);
void Clear();
- void Truncate(size_t nNewSize);
+ void RemoveAt(size_t index);
void ConvertToIndirectObjectAt(size_t index, CPDF_IndirectObjectHolder* pDoc);
const_iterator begin() const { return m_Objects.begin(); }