Index: third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp b/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp |
index 9dd55577eb783b9fde8ea185f86b951a60ecd38d..4bfe0d7460cdc46aba4c0d167b6e772e42caa31a 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp |
@@ -41,7 +41,7 @@ void SelectRuleFeatureSet::collectFeaturesFromSelectorList(const CSSSelectorList |
{ |
for (const CSSSelector* selector = list.first(); selector; selector = CSSSelectorList::next(*selector)) { |
for (const CSSSelector* component = selector; component; component = component->tagHistory()) { |
- if (invalidationSetForSelector(*component, InvalidateDescendants)) |
+ if (invalidationSetForSimpleSelector(*component, InvalidateDescendants)) |
continue; |
if (component->selectorList()) |