diff options
author | art-snake <art-snake@yandex-team.ru> | 2016-10-31 12:25:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-31 12:25:30 -0700 |
commit | 461b1d93f717e248ceb3c1e1bbb8285ba3258f8c (patch) | |
tree | 6af82267214e3ff24cbf9a8f376a8ab59c5f7cc9 /third_party/agg23/agg_curves.cpp | |
parent | 96c7b33510c5d48ef5707326de88b35dcd2e4b45 (diff) | |
download | pdfium-461b1d93f717e248ceb3c1e1bbb8285ba3258f8c.tar.xz |
Fix loading page using hint tables.
When linearized document have hint table,
The FPDFAvail_IsPageAvail return true,
but FPDF_LoadPage return nullptr, for non first pages.
This happens, bacause document not use hint tables, to load page.
To fix this, I force save the page's ObjNum in document.
This is restoring of original fix:
https://codereview.chromium.org/2437773003/
Review-Url: https://codereview.chromium.org/2444903002
Diffstat (limited to 'third_party/agg23/agg_curves.cpp')
0 files changed, 0 insertions, 0 deletions