diff options
author | tsepez <tsepez@chromium.org> | 2016-05-19 21:06:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-19 21:06:16 -0700 |
commit | 788ac38e25fc6c000b36ec1722764673e192dea3 (patch) | |
tree | 53cca2497138207f7f9e6366b945fa5e20ac6e85 /xfa/fde/css/fde_cssstylesheet.h | |
parent | 8b45eb1443e5a31f6f172fa16169b9b56177b639 (diff) | |
download | pdfium-788ac38e25fc6c000b36ec1722764673e192dea3.tar.xz |
Use std::unordered_map for CFDE_CSSStyleSheet::m_StringCache
Get rid of some LPC typedefs while we're at it.
Review-Url: https://codereview.chromium.org/1990363003
Diffstat (limited to 'xfa/fde/css/fde_cssstylesheet.h')
-rw-r--r-- | xfa/fde/css/fde_cssstylesheet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fde/css/fde_cssstylesheet.h b/xfa/fde/css/fde_cssstylesheet.h index a78ae487bb..9362fb15b4 100644 --- a/xfa/fde/css/fde_cssstylesheet.h +++ b/xfa/fde/css/fde_cssstylesheet.h @@ -7,6 +7,8 @@ #ifndef XFA_FDE_CSS_FDE_CSSSTYLESHEET_H_ #define XFA_FDE_CSS_FDE_CSSSTYLESHEET_H_ +#include <unordered_map> + #include "core/fxcrt/include/fx_ext.h" #include "xfa/fde/css/fde_cssdeclaration.h" @@ -134,7 +136,7 @@ class CFDE_CSSStyleSheet : public IFDE_CSSStyleSheet, public CFX_Target { CFDE_CSSRuleArray m_RuleArray; CFX_WideString m_szUrl; CFDE_CSSSelectorArray m_Selectors; - CFX_MapPtrToPtr m_StringCache; + std::unordered_map<uint32_t, FX_WCHAR*> m_StringCache; }; #endif // XFA_FDE_CSS_FDE_CSSSTYLESHEET_H_ |