Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.cpp.tmpl

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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}}") {

Powered by Google App Engine
This is Rietveld 408576698