| Index: Source/core/html/HTMLAnchorElement.cpp
|
| diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp
|
| index 789bc483e77c920c60c7daca44b4cd2c3ee921a5..29243c35397da219b9c8a103543c3b4d05ed7d72 100644
|
| --- a/Source/core/html/HTMLAnchorElement.cpp
|
| +++ b/Source/core/html/HTMLAnchorElement.cpp
|
| @@ -193,10 +193,10 @@ void HTMLAnchorElement::parseAttribute(const QualifiedName& name, const AtomicSt
|
| bool wasLink = isLink();
|
| setIsLink(!value.isNull());
|
| if (wasLink || isLink()) {
|
| - AffectedSelectorMask affectedPseudo = AffectedSelectorLink | AffectedSelectorVisited;
|
| + pseudoStateChanged(CSSSelector::PseudoLink);
|
| + pseudoStateChanged(CSSSelector::PseudoVisited);
|
| if (wasLink != isLink())
|
| - affectedPseudo |= AffectedSelectorEnabled;
|
| - didAffectSelector(affectedPseudo);
|
| + pseudoStateChanged(CSSSelector::PseudoEnabled);
|
| }
|
| if (wasLink && !isLink() && treeScope().adjustedFocusedElement() == this) {
|
| // We might want to call blur(), but it's dangerous to dispatch
|
|
|