summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfeditimg_unittest.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-14 15:01:29 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-14 20:09:01 +0000
commit23a5d7ea73f11ffac00239305e67c1bb46409878 (patch)
treeabbc205c464444f8eafc46715e1553cf57662ba1 /fpdfsdk/fpdfeditimg_unittest.cpp
parentf8a943908a414836271a1b7d7e4a97635d941b7f (diff)
downloadpdfium-23a5d7ea73f11ffac00239305e67c1bb46409878.tar.xz
Convert CPDF_Creator::m_Pos to uint32_t
Currently m_Pos is a FX_POSITION. The value stored into the void* is typically a uint32_t. We sometimes read that uint32_t value as a size_t to compare against vector lengths. This Cl converts all usages to be uint32_t and uses pdfium::CollectionSize to get the correct typed vector size. Change-Id: I5f452817ab6049e03477945e4622c6911c89f877 Reviewed-on: https://pdfium-review.googlesource.com/3032 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfeditimg_unittest.cpp')
0 files changed, 0 insertions, 0 deletions