Index: Source/core/html/HTMLMapElement.cpp |
diff --git a/Source/core/html/HTMLMapElement.cpp b/Source/core/html/HTMLMapElement.cpp |
index 5140fdaf2edb666185e1635409284896d9d6934f..3a34c9c3c5716b476a824c012321cd3f834698d5 100644 |
--- a/Source/core/html/HTMLMapElement.cpp |
+++ b/Source/core/html/HTMLMapElement.cpp |
@@ -108,7 +108,7 @@ void HTMLMapElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
String mapName = value; |
if (mapName[0] == '#') |
mapName = mapName.substring(1); |
- m_name = document().isHTMLDocument() ? mapName.lower() : mapName; |
+ m_name = AtomicString(document().isHTMLDocument() ? mapName.lower() : mapName); |
if (inDocument()) |
treeScope().addImageMap(this); |