diff options
author | yukishiino <yukishiino@chromium.org> | 2015-08-16 22:05:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-17 05:05:50 +0000 |
commit | fafd08e03284a70daca4dd2c148797c604ea452c (patch) | |
tree | 2da39ab263664ef96068b773f65271d7c4ef7da3 /ui | |
parent | 6808bd55096f3612030be6fda0595146d63b9601 (diff) | |
download | chromium_src-fafd08e03284a70daca4dd2c148797c604ea452c.zip chromium_src-fafd08e03284a70daca4dd2c148797c604ea452c.tar.gz chromium_src-fafd08e03284a70daca4dd2c148797c604ea452c.tar.bz2 |
text-input: Replaces unordered_map with base::hash_map.
According to a comment at
https://codereview.chromium.org/430463005/diff/160001/ui/events/x/keysym_to_unicode.cc#newcode38
replace unordered_map with base::hash_map.
BUG=
Review URL: https://codereview.chromium.org/1294703003
Cr-Commit-Position: refs/heads/master@{#343631}
Diffstat (limited to 'ui')
-rw-r--r-- | ui/events/x/keysym_to_unicode.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/events/x/keysym_to_unicode.cc b/ui/events/x/keysym_to_unicode.cc index d097490..4d6d84a 100644 --- a/ui/events/x/keysym_to_unicode.cc +++ b/ui/events/x/keysym_to_unicode.cc @@ -39,8 +39,7 @@ #define XK_dead_greek 0xfe8c #endif -#include <unordered_map> - +#include "base/containers/hash_tables.h" #include "base/lazy_instance.h" #include "base/macros.h" @@ -873,7 +872,7 @@ class KeySymToUnicode { } private: - typedef std::unordered_map<KeySym, uint16_t> KeySymToUnicodeMap; + typedef base::hash_map<KeySym, uint16_t> KeySymToUnicodeMap; KeySymToUnicodeMap keysym_to_unicode_map_; DISALLOW_COPY_AND_ASSIGN(KeySymToUnicode); |