Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / timing / PerformanceUserTiming.cpp
index 9f8a14a..e7e6c68 100644 (file)
@@ -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;
 }