diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-08-28 13:36:18 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-28 19:17:03 +0000 |
commit | 61cb1121729d7e5f53c95077dcc57a61b3f575e8 (patch) | |
tree | 8c5dd34af353a53c7e781ed696e6a773a9e55949 /core/fpdfapi | |
parent | 2b6e2a7c92a8c2756364a40a22e6f91b910fc514 (diff) | |
download | pdfium-61cb1121729d7e5f53c95077dcc57a61b3f575e8.tar.xz |
Convert find markers to Optionals in CPDF_TextPageFind
Currently these use -1 as a special value to indicate not set. This
creates the same issues that FX_STRNPOS created for converting
FX_STRSIZE to size_t, so this code has been rewritten.
BUG=pdfium:828
Change-Id: Iaaa96af0dcb2eb8b600f3ea39060a398ac9a3800
Reviewed-on: https://pdfium-review.googlesource.com/12130
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi')
0 files changed, 0 insertions, 0 deletions