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

Unified Diff: Source/core/dom/shadow/ElementShadow.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/dom/shadow/ElementShadow.h ('k') | Source/core/dom/shadow/SelectRuleFeatureSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/ElementShadow.cpp
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp
index cc1cf6109260d3a21da650b0c9610c81309d663c..568a2818590f5c7ab9f45d9bc5baabb84560faea 100644
--- a/Source/core/dom/shadow/ElementShadow.cpp
+++ b/Source/core/dom/shadow/ElementShadow.cpp
@@ -331,9 +331,9 @@ void ElementShadow::collectSelectFeatureSetFrom(ShadowRoot& root)
}
}
-void ElementShadow::didAffectSelector(AffectedSelectorMask mask)
+void ElementShadow::distributedNodePseudoStateChanged(CSSSelector::PseudoType pseudo)
{
- if (ensureSelectFeatureSet().hasSelectorFor(mask))
+ if (ensureSelectFeatureSet().hasSelectorForPseudoType(pseudo))
setNeedsDistributionRecalc();
}
« no previous file with comments | « Source/core/dom/shadow/ElementShadow.h ('k') | Source/core/dom/shadow/SelectRuleFeatureSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698