| Index: Source/core/css/SelectorChecker.cpp
|
| diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp
|
| index 23f3acaf0412256026b41d82a76278b30d4ec907..6fefb1d0318afab616d3682201442ca6d8c6d000 100644
|
| --- a/Source/core/css/SelectorChecker.cpp
|
| +++ b/Source/core/css/SelectorChecker.cpp
|
| @@ -467,8 +467,8 @@ static bool anyAttributeMatches(Element& element, CSSSelector::Match match, cons
|
| bool caseInsensitive = selector.attributeMatchType() == CSSSelector::CaseInsensitive;
|
|
|
| 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) {
|
| const Attribute& attributeItem = *it;
|
|
|
| if (!attributeItem.matches(selectorAttr))
|
|
|