Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / wtf / text / TextEncodingRegistry.cpp
index 4dd0240..7f24134 100644 (file)
@@ -192,9 +192,7 @@ static void pruneBlacklistedCodecs()
                 names.append(it->key);
         }
 
-        size_t length = names.size();
-        for (size_t j = 0; j < length; ++j)
-            textEncodingNameMap->remove(names[j]);
+        textEncodingNameMap->removeAll(names);
 
         textCodecMap->remove(atomicName);
     }