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

Unified Diff: ui/latency/latency_info.h

Issue 2825853002: Improvements to uses of base::SmallMap (Closed)
Patch Set: 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: ui/latency/latency_info.h
diff --git a/ui/latency/latency_info.h b/ui/latency/latency_info.h
index 600f8745cd20e61cd800707c3a89d9a17b6e9e08..289fb5e3fcfcd0399a04789f4f647a74e22634cb 100644
--- a/ui/latency/latency_info.h
+++ b/ui/latency/latency_info.h
@@ -137,9 +137,10 @@ class LatencyInfo {
// Map a Latency Component (with a component-specific int64_t id) to a
// component info.
- typedef base::SmallMap<
+ typedef base::small_map<
danakj 2017/04/18 21:35:50 typedef->using? This looks like a good contender
std::map<std::pair<LatencyComponentType, int64_t>, LatencyComponent>,
- kTypicalMaxComponentsPerLatencyInfo> LatencyMap;
+ kTypicalMaxComponentsPerLatencyInfo>
+ LatencyMap;
LatencyInfo();
LatencyInfo(const LatencyInfo& other);

Powered by Google App Engine
This is Rietveld 408576698