| Index: Source/core/timing/PerformanceUserTiming.cpp
|
| diff --git a/Source/core/timing/PerformanceUserTiming.cpp b/Source/core/timing/PerformanceUserTiming.cpp
|
| index 9f8a14added2f769391545f71c43add0158cefd0..e7e6c682960285084bef63a09d028b3d6b4cace9 100644
|
| --- a/Source/core/timing/PerformanceUserTiming.cpp
|
| +++ b/Source/core/timing/PerformanceUserTiming.cpp
|
| @@ -37,7 +37,7 @@ namespace blink {
|
|
|
| namespace {
|
|
|
| -typedef HashMap<String, NavigationTimingFunction> RestrictedKeyMap;
|
| +using RestrictedKeyMap = HashMap<String, NavigationTimingFunction>;
|
| static RestrictedKeyMap restrictedKeyMap()
|
| {
|
| DEFINE_STATIC_LOCAL(RestrictedKeyMap, map, ());
|
| @@ -168,8 +168,8 @@ static PerformanceEntryVector convertToEntrySequence(const PerformanceEntryMap&
|
| {
|
| 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;
|
| }
|
|
|