Index: Source/core/xml/parser/XMLDocumentParser.cpp |
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp |
index 48ffd716061d48b477547a81c4ae603f66ba0605..ba3ccf584a192e6c7ff998d02bdac02e53841151 100644 |
--- a/Source/core/xml/parser/XMLDocumentParser.cpp |
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp |
@@ -813,8 +813,8 @@ XMLDocumentParser::XMLDocumentParser(DocumentFragment* fragment, Element* parent |
for (; !elemStack.isEmpty(); elemStack.removeLast()) { |
Element* element = elemStack.last(); |
AttributeCollection attributes = element->attributes(); |
- AttributeCollection::const_iterator end = attributes.end(); |
- for (AttributeCollection::const_iterator it = attributes.begin(); it != end; ++it) { |
+ AttributeCollection::iterator end = attributes.end(); |
+ for (AttributeCollection::iterator it = attributes.begin(); it != end; ++it) { |
if (it->localName() == xmlnsAtom) |
m_defaultNamespaceURI = it->value(); |
else if (it->prefix() == xmlnsAtom) |