Index: Source/core/css/SelectorChecker.h |
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h |
index d78a0bbfa8b7aac3dbbc5eb770fe83b861bff982..55fddb9b94246bd5005aa9db388028156cf1be49 100644 |
--- a/Source/core/css/SelectorChecker.h |
+++ b/Source/core/css/SelectorChecker.h |
@@ -168,9 +168,9 @@ inline bool SelectorChecker::checkExactAttribute(const Element& element, const Q |
{ |
if (!element.hasAttributesWithoutUpdate()) |
return false; |
- AttributeIteratorAccessor attributes = element.attributesIterator(); |
- AttributeConstIterator end = attributes.end(); |
- for (AttributeConstIterator it = attributes.begin(); it != end; ++it) { |
+ AttributeCollection attributes = element.attributes(); |
+ AttributeCollection::const_iterator end = attributes.end(); |
+ for (AttributeCollection::const_iterator it = attributes.begin(); it != end; ++it) { |
if (it->matches(selectorAttributeName) && (!value || it->value().impl() == value)) |
return true; |
} |