diff options
author | tsepez <tsepez@chromium.org> | 2016-10-12 09:38:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-12 09:38:41 -0700 |
commit | 74b8c6ed314cfcc83aea13f028b4231db26e6ff8 (patch) | |
tree | e417f5d3ec4286aa9709354d9418f06eb1b8887b /core/fpdfapi/parser/cpdf_parser.h | |
parent | 47cbc06ef6f528e4d30a869ec533d010ee79b064 (diff) | |
download | pdfium-74b8c6ed314cfcc83aea13f028b4231db26e6ff8.tar.xz |
Get rid of CFX_ArrayTemplate<CPDF_Object*>
They won't work with std::unique_ptr down the road, so replace
with std::vector.
Review-Url: https://codereview.chromium.org/2411703003
Diffstat (limited to 'core/fpdfapi/parser/cpdf_parser.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h index 876ea6cb3d..83b591f3b2 100644 --- a/core/fpdfapi/parser/cpdf_parser.h +++ b/core/fpdfapi/parser/cpdf_parser.h @@ -10,6 +10,7 @@ #include <map> #include <memory> #include <set> +#include <vector> #include "core/fxcrt/fx_basic.h" @@ -153,7 +154,7 @@ class CPDF_Parser { std::unique_ptr<CPDF_SecurityHandler> m_pSecurityHandler; CFX_ByteString m_Password; std::set<FX_FILESIZE> m_SortedOffset; - CFX_ArrayTemplate<CPDF_Dictionary*> m_Trailers; + std::vector<CPDF_Dictionary*> m_Trailers; bool m_bVersionUpdated; CPDF_Object* m_pLinearized; uint32_t m_dwFirstPageNo; |