summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2018-05-29 20:58:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-29 20:58:59 +0000
commitd05394341e3a2140923f379cb1547f0600590a62 (patch)
tree0b1bd9e11a29bed1e1d00e5b364a3174d7d85712 /tools
parent97db69faaeb4f8481f9d8824bff644509949cb0d (diff)
downloadpdfium-d05394341e3a2140923f379cb1547f0600590a62.tar.xz
Revert 'Remove almost all usages of CFX_FixedBufGrow with std::vector'
This is a manual revert of the CL at: https://pdfium-review.googlesource.com/c/pdfium/+/32159 The only file manually changed was cpdf_renderstatus.cpp Reason for revert: the bug below shows that sometimes the vector size used is larger than the parameter given to CFX_FixedBufGrow. Thus, we will revert, then add vectors using std::max unless it's clear from the code that the code will never access indices outside. Bug: chromium:847247 Change-Id: Iee54af023c8564824418a7d34a6385b0bc418ff0 Reviewed-on: https://pdfium-review.googlesource.com/33050 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> (cherry picked from commit ac8357b3ec7e1fe4000ebcae5ce65a38bfeb5cb1) Reviewed-on: https://pdfium-review.googlesource.com/33170
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions