diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-01-17 21:30:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-17 21:30:07 +0000 |
commit | 2993b758326c4f7f91cc6d6840bb1efde7642623 (patch) | |
tree | 44a4ad90a162c322c3f9630fac221e940f23b39b /core/fpdfapi/parser/cpdf_number.cpp | |
parent | 4c431bab10ab8ec3681f88be4f62002de069eeb6 (diff) | |
download | pdfium-2993b758326c4f7f91cc6d6840bb1efde7642623.tar.xz |
Move remaining jpeg error handling up a level
This moves the setjmps needed for handling fatal errors in the jpeg
library up a level to be in line with how other instances of this are
being modified. This additionally reduces the number of times that
setjmp needs to be called and documents why it is occurring.
This covers the Start and ReadScanLine methods. It also adds in
setting the error member, which had been missed in previous CLs.
BUG=pdfium:986
Change-Id: I7db87288ffe0ee8b29899d97035c30ad812da76a
Reviewed-on: https://pdfium-review.googlesource.com/23117
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_number.cpp')
0 files changed, 0 insertions, 0 deletions