Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: Source/core/dom/Document.cpp

Issue 540533004: Use style invalidation for more pseudo classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698