Index: Source/core/dom/DatasetDOMStringMap.cpp |
diff --git a/Source/core/dom/DatasetDOMStringMap.cpp b/Source/core/dom/DatasetDOMStringMap.cpp |
index a7871bfa9aec933ff769881a2ee297e362d0b869..777be3d4746fd3a1feee5dad6b4bd928f1246849 100644 |
--- a/Source/core/dom/DatasetDOMStringMap.cpp |
+++ b/Source/core/dom/DatasetDOMStringMap.cpp |
@@ -155,8 +155,8 @@ void DatasetDOMStringMap::deref() |
void DatasetDOMStringMap::getNames(Vector<String>& names) |
{ |
AttributeCollection attributes = m_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 (isValidAttributeName(it->localName())) |
names.append(convertAttributeNameToPropertyName(it->localName())); |
} |
@@ -165,8 +165,8 @@ void DatasetDOMStringMap::getNames(Vector<String>& names) |
String DatasetDOMStringMap::item(const String& name) |
{ |
AttributeCollection attributes = m_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 (propertyNameMatchesAttributeName(name, it->localName())) |
return it->value(); |
} |
@@ -177,8 +177,8 @@ String DatasetDOMStringMap::item(const String& name) |
bool DatasetDOMStringMap::contains(const String& name) |
{ |
AttributeCollection attributes = m_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 (propertyNameMatchesAttributeName(name, it->localName())) |
return true; |
} |