Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: ui/base/ime/chromeos/input_method_util.h

Issue 2829163004: Remove uses of base::hash_map from //chrome (Closed)
Patch Set: Downloads back Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/tts_dispatcher.cc ('k') | ui/base/ime/chromeos/input_method_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/input_method_util.h
diff --git a/ui/base/ime/chromeos/input_method_util.h b/ui/base/ime/chromeos/input_method_util.h
index 06f886f4bba2105a0f729a8eaf021c53cce6e346..36565a7c9c0f4e5b74919f64872720d0a2c364f8 100644
--- a/ui/base/ime/chromeos/input_method_util.h
+++ b/ui/base/ime/chromeos/input_method_util.h
@@ -11,7 +11,7 @@
#include <string>
#include <vector>
-#include "base/containers/hash_tables.h"
+#include "base/containers/flat_map.h"
#include "base/macros.h"
#include "base/strings/string16.h"
#include "base/threading/thread_checker.h"
@@ -206,8 +206,8 @@ class UI_BASE_IME_EXPORT InputMethodUtil {
LanguageCodeToIdsMap language_code_to_ids_;
InputMethodIdToDescriptorMap id_to_descriptor_;
- typedef base::hash_map<std::string, int> HashType;
- HashType english_to_resource_id_;
+ using EnglishToIDMap = base::flat_map<std::string, int>;
+ EnglishToIDMap english_to_resource_id_;
InputMethodDelegate* delegate_;
« no previous file with comments | « chrome/renderer/tts_dispatcher.cc ('k') | ui/base/ime/chromeos/input_method_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698