diff options
author | npm <npm@chromium.org> | 2016-10-21 09:42:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-21 09:42:33 -0700 |
commit | fd5ae3f7cf077d00af0ce3082376f4051c499c5d (patch) | |
tree | c50f211d8efca99e9ec17733a776fca854c3f78c /BUILD.gn | |
parent | ef38283688c1ee7c08bcf4204cfb78e09c039782 (diff) | |
download | pdfium-fd5ae3f7cf077d00af0ce3082376f4051c499c5d.tar.xz |
Revert of Fix loading page using hint tables. (patchset #5 id:80001 of https://codereview.chromium.org/2437773003/ )
Reason for revert:
CPDF_DataAvail::IsPageAvail is causing crashes.
BUG=chromium:658168, chromium:658170
Original issue's description:
> 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.
>
> R=npm, dsinclair
>
> Committed: https://pdfium.googlesource.com/pdfium/+/ef38283688c1ee7c08bcf4204cfb78e09c039782
TBR=dsinclair@chromium.org,tsepez@chromium.org,thestig@chromium.org,art-snake@yandex-team.ru
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review-Url: https://chromiumcodereview.appspot.com/2442663005
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1634,7 +1634,6 @@ test("pdfium_unittests") { "core/fpdfapi/page/fpdf_page_parser_old_unittest.cpp", "core/fpdfapi/page/fpdf_page_parser_unittest.cpp", "core/fpdfapi/parser/cpdf_array_unittest.cpp", - "core/fpdfapi/parser/cpdf_document_unittest.cpp", "core/fpdfapi/parser/cpdf_object_unittest.cpp", "core/fpdfapi/parser/cpdf_parser_unittest.cpp", "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp", |