| Index: third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.cpp.tmpl
|
| index fafe78021108c543511a05f960796de94776149c..4afbeca8ad779461d67e238d372f0337491a43fa 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.cpp.tmpl
|
| @@ -17,13 +17,13 @@ void createHTMLTypeMap() {
|
| DCHECK(!html_type_map);
|
| html_type_map = new HTMLTypeMap;
|
| {% for tag in tags|sort %}
|
| - html_type_map->set(AtomicString("{{tag.name}}"), HTMLElementType::k{{tag.interface}});
|
| + html_type_map->Set(AtomicString("{{tag.name}}"), HTMLElementType::k{{tag.interface}});
|
| {% endfor %}
|
| }
|
|
|
| HTMLElementType htmlElementTypeForTag(const AtomicString& tagName) {
|
| if (!html_type_map) createHTMLTypeMap();
|
| - if (html_type_map->contains(tagName)) {
|
| + if (html_type_map->Contains(tagName)) {
|
| {% for tag in tags|sort %}
|
| {% if tag.runtimeEnabled %}
|
| if (tagName == "{{tag.name}}") {
|
|
|