diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-05 13:17:22 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-05 13:17:22 -0800 |
commit | 360bc5ffb58e001dc7694967d79b29d54a935337 (patch) | |
tree | e5d9aadaa7a4cacd394a529c0e7fa904458c46b2 /core/src/fpdfapi/fpdf_parser/parser_int.h | |
parent | 9c98adb0404c4b161ceb71953772b79983afa55d (diff) | |
download | pdfium-360bc5ffb58e001dc7694967d79b29d54a935337.tar.xz |
Remove CFX_FileSizeArray.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1671113002 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_parser/parser_int.h')
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/parser_int.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/parser_int.h b/core/src/fpdfapi/fpdf_parser/parser_int.h index 70b5fcf870..b4865842ea 100644 --- a/core/src/fpdfapi/fpdf_parser/parser_int.h +++ b/core/src/fpdfapi/fpdf_parser/parser_int.h @@ -7,6 +7,8 @@ #ifndef CORE_SRC_FPDFAPI_FPDF_PARSER_PARSER_INT_H_ #define CORE_SRC_FPDFAPI_FPDF_PARSER_PARSER_INT_H_ +#include <vector> + #include "core/include/fxcrt/fx_basic.h" #include "core/include/fxcrt/fx_stream.h" @@ -36,7 +38,7 @@ class CPDF_HintTables { protected: FX_BOOL ReadPageHintTable(CFX_BitStream* hStream); FX_BOOL ReadSharedObjHintTable(CFX_BitStream* hStream, FX_DWORD offset); - FX_DWORD GetItemLength(int index, const CFX_FileSizeArray& szArray); + FX_DWORD GetItemLength(int index, const std::vector<FX_FILESIZE>& szArray); private: int ReadPrimaryHintStreamOffset() const; @@ -50,8 +52,8 @@ class CPDF_HintTables { CFX_DWordArray m_dwNSharedObjsArray; CFX_DWordArray m_dwSharedObjNumArray; CFX_DWordArray m_dwIdentifierArray; - CFX_FileSizeArray m_szPageOffsetArray; - CFX_FileSizeArray m_szSharedObjOffsetArray; + std::vector<FX_FILESIZE> m_szPageOffsetArray; + std::vector<FX_FILESIZE> m_szSharedObjOffsetArray; }; #endif // CORE_SRC_FPDFAPI_FPDF_PARSER_PARSER_INT_H_ |