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(); |
} |