namespace {
-typedef HashMap<String, NavigationTimingFunction> RestrictedKeyMap;
+using RestrictedKeyMap = HashMap<String, NavigationTimingFunction>;
static RestrictedKeyMap restrictedKeyMap()
{
DEFINE_STATIC_LOCAL(RestrictedKeyMap, map, ());
{
PerformanceEntryVector entries;
- for (PerformanceEntryMap::const_iterator it = performanceEntryMap.begin(); it != performanceEntryMap.end(); ++it)
- entries.appendVector(it->value);
+ for (const auto& entry : performanceEntryMap)
+ entries.appendVector(entry.value);
return entries;
}