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 614028bd91e5040f81e8fbdc0132a4db10aa07a2..ddb5c32c80e6dd279c7f2e801018db104858a436 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp |
@@ -42,7 +42,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)) |
+ if (invalidationSetForSelector(*component, InvalidateDescendants)) |
continue; |
if (component->selectorList()) |