diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-10-30 20:34:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-30 20:34:22 +0000 |
commit | c94eb952f636f4553b2b18cda445c775982b657c (patch) | |
tree | bed9b59d0fc7e7e22e2837c6bc5387b503e306b9 /core/fpdfapi/parser/cpdf_data_avail.h | |
parent | a3254627c664e2b88f48f1d6dd856503ab8742b3 (diff) | |
download | pdfium-c94eb952f636f4553b2b18cda445c775982b657c.tar.xz |
Use CPDF_PageDataAvail to check page availability.
Change-Id: Iad67de5881481684fee605f48f9349a3be21f70b
Reviewed-on: https://pdfium-review.googlesource.com/15591
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_data_avail.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_data_avail.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfapi/parser/cpdf_data_avail.h b/core/fpdfapi/parser/cpdf_data_avail.h index f7c502ff77..a887d94901 100644 --- a/core/fpdfapi/parser/cpdf_data_avail.h +++ b/core/fpdfapi/parser/cpdf_data_avail.h @@ -211,9 +211,6 @@ class CPDF_DataAvail final { bool m_bPagesLoad; CPDF_Parser* m_pCurrentParser; FX_FILESIZE m_dwCurrentXRefSteam; - bool m_bAnnotsLoad; - CPDF_Dictionary* m_pPageDict; - bool m_bPageLoadedOK; std::unique_ptr<CPDF_PageObjectAvail> m_pFormAvail; std::vector<std::unique_ptr<CPDF_Object>> m_PagesArray; uint32_t m_dwEncryptObjNum; @@ -226,6 +223,7 @@ class CPDF_DataAvail final { std::set<uint32_t> m_SeenPrevPositions; std::unique_ptr<CPDF_HintTables> m_pHintTables; bool m_bSupportHintTable; + std::map<uint32_t, std::unique_ptr<CPDF_PageObjectAvail>> m_PagesObjAvail; std::map<const CPDF_Object*, std::unique_ptr<CPDF_PageObjectAvail>> m_PagesResourcesAvail; }; |