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

Unified Diff: base/tracked_objects.h

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 years, 8 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: base/tracked_objects.h
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index 36caec3c6e45ea0984cba1bfa8551c4c7f1af565..d246cfd82b3df3cf930134fe6cc9cae46092674b 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -11,6 +11,7 @@
#include <set>
#include <stack>
#include <string>
+#include <unordered_map>
#include <utility>
#include <vector>
@@ -522,7 +523,7 @@ class BASE_EXPORT ThreadData {
STATUS_LAST = PROFILING_ACTIVE
};
- typedef base::hash_map<Location, Births*, Location::Hash> BirthMap;
+ typedef std::unordered_map<Location, Births*, Location::Hash> BirthMap;
typedef std::map<const Births*, DeathData> DeathMap;
// Initialize the current thread context with a new instance of ThreadData.
« no previous file with comments | « base/trace_event/trace_log.cc ('k') | chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698