Index: Source/core/svg/SVGLangSpace.cpp |
diff --git a/Source/core/svg/SVGLangSpace.cpp b/Source/core/svg/SVGLangSpace.cpp |
index feba88ee2ebce78bfb5a3b7dd1f1e7a84b882d20..1fe66e029bb8f7e680c01cebac816c0ef6217aa5 100644 |
--- a/Source/core/svg/SVGLangSpace.cpp |
+++ b/Source/core/svg/SVGLangSpace.cpp |
@@ -67,15 +67,13 @@ bool SVGLangSpace::isKnownAttribute(const QualifiedName& attrName) |
void SVGLangSpace::addSupportedAttributes(HashSet<QualifiedName>& supportedAttributes) |
{ |
- DEFINE_STATIC_LOCAL(AtomicString, xmlPrefix, ("xml", AtomicString::ConstructFromLiteral)); |
- |
QualifiedName langWithPrefix = XMLNames::langAttr; |
- langWithPrefix.setPrefix(xmlPrefix); |
+ langWithPrefix.setPrefix(xmlAtom); |
supportedAttributes.add(langWithPrefix); |
supportedAttributes.add(XMLNames::langAttr); |
QualifiedName spaceWithPrefix = XMLNames::spaceAttr; |
- spaceWithPrefix.setPrefix(xmlPrefix); |
+ spaceWithPrefix.setPrefix(xmlAtom); |
supportedAttributes.add(spaceWithPrefix); |
supportedAttributes.add(XMLNames::spaceAttr); |
} |