diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-10 19:34:57 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-10 19:34:57 +0000 |
commit | 1e6490da6fb813930d1073ac05ace8a21fa9ca28 (patch) | |
tree | d1849bda5efcb3b3cd7c4a39580d36228b4ab696 /fxjs/cjs_globaldata.cpp | |
parent | a74e75d69594e469906e2a95b5f2394c88acbe7a (diff) | |
download | pdfium-1e6490da6fb813930d1073ac05ace8a21fa9ca28.tar.xz |
Rename GetCaption to GetCaptionIfExists
This CL renames GetCaption to GetCaptionIfExists to make it clear the
value returned can be a nullptr. The various callsites have been fixed
which used the caption without validating.
Change-Id: I9b600ac9ab5b9e04dfa6e8cee95ef3e9d629688d
Reviewed-on: https://pdfium-review.googlesource.com/22670
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjs_globaldata.cpp')
0 files changed, 0 insertions, 0 deletions