diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2018-07-25 02:28:35 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-25 02:28:35 +0000 |
commit | 70ddc1ca22ad44a77006491b604a75f6514a4aa8 (patch) | |
tree | 1aab47245a415069f425fac877fd361352fb2a27 /fxjs/xfa/cjx_breakafter.h | |
parent | 36b2059cae7fc851c9f35babd35ec82a7a5d9694 (diff) | |
download | pdfium-70ddc1ca22ad44a77006491b604a75f6514a4aa8.tar.xz |
Use document size instead of file size while parsing.
We should use document size instead of File size,
because all offsets and sizes was read from document should
take into account of header offset.
Added some tests of parsing of documents with header offset.
Also drop friendship of CPDF_SyntaxParser with CPDF_Parser.
Change-Id: Iebec75ab2ee07fb644a6c653b4ef5c2e09af09fe
Reviewed-on: https://pdfium-review.googlesource.com/35830
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_breakafter.h')
0 files changed, 0 insertions, 0 deletions