diff options
author | tsepez <tsepez@chromium.org> | 2016-12-14 11:30:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-14 11:30:47 -0800 |
commit | 0d73909e89a5c93917b9cb73fe5c03c484f2793d (patch) | |
tree | 6b3dc490bed3fb2e62bb0bc6c09bcf9fb28f0dfc /core/fxcodec/jbig2/JBig2_Context.h | |
parent | 603f57b85c0643f0598f03b97c4525501f3e1221 (diff) | |
download | pdfium-0d73909e89a5c93917b9cb73fe5c03c484f2793d.tar.xz |
Remove CJBig2_List in favor of std::vector<std::unique_ptr<>>
Review-Url: https://codereview.chromium.org/2578663002
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Context.h')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Context.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Context.h b/core/fxcodec/jbig2/JBig2_Context.h index 2de5ebbf2c..cd44a82c61 100644 --- a/core/fxcodec/jbig2/JBig2_Context.h +++ b/core/fxcodec/jbig2/JBig2_Context.h @@ -14,7 +14,6 @@ #include "core/fpdfapi/parser/cpdf_object.h" #include "core/fxcodec/fx_codec_def.h" -#include "core/fxcodec/jbig2/JBig2_List.h" #include "core/fxcodec/jbig2/JBig2_Page.h" #include "core/fxcodec/jbig2/JBig2_Segment.h" @@ -89,8 +88,8 @@ class CJBig2_Context { std::unique_ptr<CJBig2_Context> m_pGlobalContext; std::unique_ptr<CJBig2_BitStream> m_pStream; - CJBig2_List<CJBig2_Segment> m_SegmentList; - CJBig2_List<JBig2PageInfo> m_PageInfoList; + std::vector<std::unique_ptr<CJBig2_Segment>> m_SegmentList; + std::vector<std::unique_ptr<JBig2PageInfo>> m_PageInfoList; std::unique_ptr<CJBig2_Image> m_pPage; size_t m_nSegmentDecoded; bool m_bInPage; |