Index: Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl |
diff --git a/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl b/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl |
index 958cc0f1828eca7c47914c398f4de458753f31c1..0ac61ea0e9364d0c0b9069f77029718f62401f9f 100644 |
--- a/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl |
+++ b/Source/build/scripts/templates/MakeQualifiedNames.cpp.tmpl |
@@ -21,6 +21,7 @@ DEFINE_GLOBAL({{namespace}}QualifiedName, {{tag|symbol}}Tag) |
{% endfor %} |
+{% if namespace != 'HTML' %} |
PassOwnPtr<const {{namespace}}QualifiedName*[]> get{{namespace}}Tags() |
{ |
OwnPtr<const {{namespace}}QualifiedName*[]> tags = adoptArrayPtr(new const {{namespace}}QualifiedName*[{{namespace}}TagsCount]); |
@@ -29,6 +30,7 @@ PassOwnPtr<const {{namespace}}QualifiedName*[]> get{{namespace}}Tags() |
{% endfor %} |
return tags.release(); |
} |
+{% endif %} |
{% endif %} |
// Attributes |
@@ -36,6 +38,7 @@ PassOwnPtr<const {{namespace}}QualifiedName*[]> get{{namespace}}Tags() |
DEFINE_GLOBAL(QualifiedName, {{attr|symbol}}Attr) |
{% endfor %} |
+{% if namespace != 'HTML' %} |
PassOwnPtr<const QualifiedName*[]> get{{namespace}}Attrs() |
{ |
OwnPtr<const QualifiedName*[]> attrs = adoptArrayPtr(new const QualifiedName*[{{namespace}}AttrsCount]); |
@@ -44,6 +47,8 @@ PassOwnPtr<const QualifiedName*[]> get{{namespace}}Attrs() |
{% endfor %} |
return attrs.release(); |
} |
+{% endif %} |
+ |
void init() |
{ |