Index: Source/core/xml/XPathGrammar.y |
diff --git a/Source/core/xml/XPathGrammar.y b/Source/core/xml/XPathGrammar.y |
index 6eba2252561610b31207a9b38b982a9e9d4fe81f..f40b3ce9af9ba94922ebbac7ddaf0e45390cca99 100644 |
--- a/Source/core/xml/XPathGrammar.y |
+++ b/Source/core/xml/XPathGrammar.y |
@@ -192,8 +192,8 @@ Step: |
| |
NAMETEST OptionalPredicateList |
{ |
- String localName; |
- String namespaceURI; |
+ AtomicString localName; |
+ AtomicString namespaceURI; |
if (!parser->expandQName(*$1, localName, namespaceURI)) { |
parser->m_gotNamespaceError = true; |
YYABORT; |
@@ -221,8 +221,8 @@ Step: |
| |
AxisSpecifier NAMETEST OptionalPredicateList |
{ |
- String localName; |
- String namespaceURI; |
+ AtomicString localName; |
+ AtomicString namespaceURI; |
if (!parser->expandQName(*$2, localName, namespaceURI)) { |
parser->m_gotNamespaceError = true; |
YYABORT; |