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

Unified Diff: base/trace_event/trace_event_memory_overhead.cc

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/trace_event/trace_event_memory_overhead.h ('k') | cc/resources/resource_provider.h » ('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.cc
diff --git a/base/trace_event/trace_event_memory_overhead.cc b/base/trace_event/trace_event_memory_overhead.cc
index 99f0240a8be4e9dd62d14d7a8fd340606d587d88..95177b541d62fc5e2402df7c9920c67d4e24dc84 100644
--- a/base/trace_event/trace_event_memory_overhead.cc
+++ b/base/trace_event/trace_event_memory_overhead.cc
@@ -115,7 +115,7 @@ void TraceEventMemoryOverhead::AddValue(const Value& value) {
void TraceEventMemoryOverhead::AddSelf() {
size_t estimated_size = sizeof(*this);
- // If the SmallMap did overflow its static capacity, its elements will be
+ // If the small_map did overflow its static capacity, its elements will be
// allocated on the heap and have to be accounted separately.
if (allocated_objects_.UsingFullMap())
estimated_size += sizeof(map_type::value_type) * allocated_objects_.size();
« no previous file with comments | « base/trace_event/trace_event_memory_overhead.h ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698