Index: third_party/WebKit/Source/core/css/CSSSelectorList.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSSelectorList.cpp b/third_party/WebKit/Source/core/css/CSSSelectorList.cpp |
index 7cba4aa16fd6f98ed6f3bddca2ac136da9ffb062..83626a2d18c6d5bb2ffac4851aa402ce63eec60d 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelectorList.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSSelectorList.cpp |
@@ -185,7 +185,7 @@ bool CSSSelectorList::selectorUsesDeepCombinatorOrShadowPseudo(size_t index) con |
bool CSSSelectorList::selectorNeedsUpdatedDistribution(size_t index) const |
{ |
return forEachTagSelector([](const CSSSelector& selector) -> bool { |
- return selector.relationIsAffectedByPseudoContent() || selector.pseudoType() == CSSSelector::PseudoHostContext; |
+ return selector.relationIsAffectedByPseudoContent() || selector.pseudoType() == CSSSelector::PseudoSlotted || selector.pseudoType() == CSSSelector::PseudoHostContext; |
}, selectorAt(index)); |
} |