projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
wtf
/
text
/
TextEncodingRegistry.cpp
diff --git
a/src/third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp
b/src/third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp
index
4dd0240
..
7f24134
100644
(file)
--- a/
src/third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp
+++ b/
src/third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp
@@
-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);
}