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

Unified Diff: base/trace_event/trace_event_memory_overhead.h

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: WebKit callers 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/trace_event/trace_event_memory_overhead.h
diff --git a/base/trace_event/trace_event_memory_overhead.h b/base/trace_event/trace_event_memory_overhead.h
index a5d324e062be56bd61a0e878f51c99c4c4e93e1f..f91328223b6067e4b1542235b09ae66bd27560e8 100644
--- a/base/trace_event/trace_event_memory_overhead.h
+++ b/base/trace_event/trace_event_memory_overhead.h
@@ -60,7 +60,8 @@ class BASE_EXPORT TraceEventMemoryOverhead {
size_t allocated_size_in_bytes;
size_t resident_size_in_bytes;
};
- using map_type = small_map<hash_map<const char*, ObjectCountAndSize>, 16>;
+ using map_type =
+ small_map<std::unordered_map<const char*, ObjectCountAndSize>, 16>;
Łukasz Anforowicz 2017/04/24 18:46:10 IWYU: #include <unordered_map>?
map_type allocated_objects_;
void AddOrCreateInternal(const char* object_type,

Powered by Google App Engine
This is Rietveld 408576698