diff options
author | tsepez <tsepez@chromium.org> | 2016-04-25 12:37:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-25 12:37:27 -0700 |
commit | 084174a3523e0ebdbf2d9d1c9902d2ba4875182e (patch) | |
tree | 0e7c20f644da827db1fd375076cdf73b170708b9 /xfa/fxfa/include/xfa_ffdoc.h | |
parent | 7c5f4b54805b80ae4fa3f6d1ef562143ae616f49 (diff) | |
download | pdfium-084174a3523e0ebdbf2d9d1c9902d2ba4875182e.tar.xz |
Use std::map in xfa_ffdoc.cpp
Review URL: https://codereview.chromium.org/1917493002
Diffstat (limited to 'xfa/fxfa/include/xfa_ffdoc.h')
-rw-r--r-- | xfa/fxfa/include/xfa_ffdoc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xfa/fxfa/include/xfa_ffdoc.h b/xfa/fxfa/include/xfa_ffdoc.h index 9d9af3d9bc..2569b505ff 100644 --- a/xfa/fxfa/include/xfa_ffdoc.h +++ b/xfa/fxfa/include/xfa_ffdoc.h @@ -7,6 +7,9 @@ #ifndef XFA_FXFA_INCLUDE_XFA_FFDOC_H_ #define XFA_FXFA_INCLUDE_XFA_FFDOC_H_ +#include <map> +#include <memory> + #include "xfa/fxfa/include/fxfa.h" #include "xfa/fxfa/parser/xfa_document.h" @@ -56,8 +59,8 @@ class CXFA_FFDoc { CXFA_FFApp* m_pApp; CXFA_FFNotify* m_pNotify; CPDF_Document* m_pPDFDoc; - CFX_MapPtrToPtr m_mapNamedImages; - CFX_MapPtrToPtr m_mapTypeToDocView; + std::map<uint32_t, FX_IMAGEDIB_AND_DPI> m_HashToDibDpiMap; + std::map<uint32_t, std::unique_ptr<CXFA_FFDocView>> m_TypeToDocViewMap; uint32_t m_dwDocType; FX_BOOL m_bOwnStream; }; |