summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_enforce.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-27 15:46:52 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-27 15:46:52 +0000
commite839a6adb305467759e0d22fe7532a72fe4d8fa7 (patch)
treedae604b1010cb9bd33bca9cfa0dcc6c31ef31988 /xfa/fxfa/parser/cxfa_enforce.h
parent6d69dfca14621c907ca9d6c6bd3d3a5d4428e85b (diff)
downloadpdfium-e839a6adb305467759e0d22fe7532a72fe4d8fa7.tar.xz
[Merge M65] Fixup AFSimple_Calculate indexing bug
The refactoring in [1] introduced a bug where we pulled the wrong array index to get the array of fields to use in the AFSimple_Calculate method. This caused the calculation to not be performed as the fields could not be found. This CL fixes up the index and adds a test to verify we use AFSimple_Calucate to sum two fields. 1- https://pdfium-review.googlesource.com/c/pdfium/+/16670 TBR: rharrision@chromium.org Bug: chromium:811913 Change-Id: I2abb9fe4fe2d6969ce1876736faadf252ef90575 Reviewed-on: https://pdfium-review.googlesource.com/27670 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> (cherry picked from commit 9141116074f9209f617d9607e747c8947c952c46) Reviewed-on: https://pdfium-review.googlesource.com/27750 Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_enforce.h')
0 files changed, 0 insertions, 0 deletions