Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 440d51d59d63e299d9e98743311e0b7928d0585a..d6d984b9743edd7c77edd975bc8e4cde885e71ca 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -3649,10 +3649,10 @@ SetFocusedElementDone: |
void Document::setCSSTarget(Element* newTarget) |
{ |
if (m_cssTarget) |
- m_cssTarget->didAffectSelector(AffectedSelectorTarget); |
+ m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); |
m_cssTarget = newTarget; |
if (m_cssTarget) |
- m_cssTarget->didAffectSelector(AffectedSelectorTarget); |
+ m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); |
} |
void Document::registerNodeList(const LiveNodeListBase* list) |