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

Unified Diff: base/trace_event/trace_event_memory_overhead.h

Issue 2825853002: Improvements to uses of base::SmallMap (Closed)
Patch Set: Review comments 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
« no previous file with comments | « base/containers/small_map_unittest.cc ('k') | base/trace_event/trace_event_memory_overhead.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a69c93fed200de667996c045ba8411db05a9c17e..a5d324e062be56bd61a0e878f51c99c4c4e93e1f 100644
--- a/base/trace_event/trace_event_memory_overhead.h
+++ b/base/trace_event/trace_event_memory_overhead.h
@@ -60,7 +60,7 @@ class BASE_EXPORT TraceEventMemoryOverhead {
size_t allocated_size_in_bytes;
size_t resident_size_in_bytes;
};
- using map_type = SmallMap<hash_map<const char*, ObjectCountAndSize>, 16>;
+ using map_type = small_map<hash_map<const char*, ObjectCountAndSize>, 16>;
map_type allocated_objects_;
void AddOrCreateInternal(const char* object_type,
« no previous file with comments | « base/containers/small_map_unittest.cc ('k') | base/trace_event/trace_event_memory_overhead.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698