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

Unified Diff: chrome/browser/chromeos/input_method/input_method_util.h

Issue 2829163004: Remove uses of base::hash_map from //chrome (Closed)
Patch Set: Fixes Created 3 years, 7 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
Index: chrome/browser/chromeos/input_method/input_method_util.h
diff --git a/chrome/browser/chromeos/input_method/input_method_util.h b/chrome/browser/chromeos/input_method/input_method_util.h
index fea1448f38070ee3c3983bd5bd8e4a9de474ed71..1a73648921d6238f4dd1d3f7e9bf90a475bdd7c0 100644
--- a/chrome/browser/chromeos/input_method/input_method_util.h
+++ b/chrome/browser/chromeos/input_method/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"
@@ -205,8 +205,8 @@ class 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_;

Powered by Google App Engine
This is Rietveld 408576698