diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-26 10:55:54 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-26 20:07:23 +0000 |
commit | e47e0c96009b8633294eebbb9eb0e84caf525c57 (patch) | |
tree | 093c0edb121e54c22e40a704ce473eb48491ccfc /xfa/fde/css/cfde_cssstylesheet.h | |
parent | 2e2a4fcd43677c5882dcf00cb4b99635cb2cfcd3 (diff) | |
download | pdfium-e47e0c96009b8633294eebbb9eb0e84caf525c57.tar.xz |
Avoid unordered_set and maps for the time being.chromium/3082
See discussion at
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/rdxOHKzQmRY
Change-Id: I1803ae97c39b592001835814e2f6674b2c7cb3ea
Reviewed-on: https://pdfium-review.googlesource.com/4531
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/css/cfde_cssstylesheet.h')
-rw-r--r-- | xfa/fde/css/cfde_cssstylesheet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fde/css/cfde_cssstylesheet.h b/xfa/fde/css/cfde_cssstylesheet.h index fa73460634..24bebddcbf 100644 --- a/xfa/fde/css/cfde_cssstylesheet.h +++ b/xfa/fde/css/cfde_cssstylesheet.h @@ -7,8 +7,8 @@ #ifndef XFA_FDE_CSS_CFDE_CSSSTYLESHEET_H_ #define XFA_FDE_CSS_CFDE_CSSSTYLESHEET_H_ +#include <map> #include <memory> -#include <unordered_map> #include <vector> #include "core/fxcrt/fx_string.h" @@ -34,7 +34,7 @@ class CFDE_CSSStyleSheet { void SkipRuleSet(CFDE_CSSSyntaxParser* pSyntax); std::vector<std::unique_ptr<CFDE_CSSStyleRule>> m_RuleArray; - std::unordered_map<uint32_t, wchar_t*> m_StringCache; + std::map<uint32_t, wchar_t*> m_StringCache; }; #endif // XFA_FDE_CSS_CFDE_CSSSTYLESHEET_H_ |