| 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 9134e3e774af0e8ff163f2f31d6547e38c2dccd9..87d41b529ac0f4a66b8e77c75f18e11b08bb07a1 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}}") {
|
| @@ -33,7 +33,7 @@ HTMLElementType htmlElementTypeForTag(const AtomicString& tagName) {
|
| }
|
| {% endif %}
|
| {% endfor %}
|
| - return html_type_map->get(tagName);
|
| + return html_type_map->Get(tagName);
|
| } else {
|
| return HTMLElementType::kHTMLUnknownElement;
|
| }
|
|
|