summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-20 11:51:32 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-20 21:41:00 +0000
commita105e003fd8ac96029f015f20ac8ad1dee8e6391 (patch)
treee10bed113802113f3b34ba5363f84e7ee198a143 /fpdfsdk/fpdfview_c_api_test.c
parent25a9caff72ca0267e9ede38f780127e32c51cb9d (diff)
downloadpdfium-a105e003fd8ac96029f015f20ac8ad1dee8e6391.tar.xz
Use std::vector<std::unique_ptr<CPVT_WordInfo>> as word array.
We never push nullptrs into this array, so remove some checks for nullness, but be really careful about bounds checking. Change-Id: I79960a4cc9a729b3d5985f297aea8c4b03ceb601 Reviewed-on: https://pdfium-review.googlesource.com/3103 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
0 files changed, 0 insertions, 0 deletions