Index: Source/core/dom/PresentationAttributeStyle.cpp |
diff --git a/Source/core/dom/PresentationAttributeStyle.cpp b/Source/core/dom/PresentationAttributeStyle.cpp |
index 0a6497c6a3ca69c3bdeda2b4679f655991e16ef9..c6376932f42d32ad4591908c71f6176dd9ef5948 100644 |
--- a/Source/core/dom/PresentationAttributeStyle.cpp |
+++ b/Source/core/dom/PresentationAttributeStyle.cpp |
@@ -127,8 +127,8 @@ static void makePresentationAttributeCacheKey(Element& element, PresentationAttr |
if (isHTMLInputElement(element)) |
return; |
AttributeCollection attributes = element.attributesWithoutUpdate(); |
- 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 (!element.isPresentationAttribute(it->name())) |
continue; |
if (!it->namespaceURI().isNull()) |
@@ -182,8 +182,8 @@ PassRefPtrWillBeRawPtr<StylePropertySet> computePresentationAttributeStyle(Eleme |
} else { |
style = MutableStylePropertySet::create(element.isSVGElement() ? SVGAttributeMode : HTMLAttributeMode); |
AttributeCollection attributes = element.attributesWithoutUpdate(); |
- 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) |
element.collectStyleForPresentationAttribute(it->name(), it->value(), toMutableStylePropertySet(style)); |
} |