diff options
author | tonikitoo <tonikitoo@igalia.com> | 2016-09-06 06:14:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-06 06:14:06 -0700 |
commit | 921d58f43cbf0dc3f12394b80cb315d00ee0bd35 (patch) | |
tree | 1cbefd5fb63cbce4b9ee12c761756004d9082f96 /fpdfsdk/javascript/util.h | |
parent | 7b36672405c05037709a7ba3e8cc96efe2471408 (diff) | |
download | pdfium-921d58f43cbf0dc3f12394b80cb315d00ee0bd35.tar.xz |
Move ShouldGenerateAPForAnnotation check to CPDF_Annot::GenerateAPIfNeeded
By doing this, we simplify the code in cpvt_generateap.cpp,
and avoid calling CPVT_GenerateAP methods altogether,
when it is known that they are bailing out.
This is a preparation to fix pdfium bug 585.
BUG=pdfium:585
Review-Url: https://codereview.chromium.org/2310873002
Diffstat (limited to 'fpdfsdk/javascript/util.h')
0 files changed, 0 insertions, 0 deletions