Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 46ae8af3358cad6465d5ecc7da9b1723b1f17096..8c6291af1e013a5190945fdca9431aaa2e9e45aa 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -436,8 +436,8 @@ static bool executeFormatBlock(Frame& frame, Event*, EditorCommandSource, const |
if (tagName[0] == '<' && tagName[tagName.length() - 1] == '>') |
tagName = tagName.substring(1, tagName.length() - 2); |
- String localName, prefix; |
- if (!Document::parseQualifiedName(tagName, prefix, localName, IGNORE_EXCEPTION)) |
+ AtomicString localName, prefix; |
+ if (!Document::parseQualifiedName(AtomicString(tagName), prefix, localName, IGNORE_EXCEPTION)) |
return false; |
QualifiedName qualifiedTagName(prefix, localName, xhtmlNamespaceURI); |