Index: Source/core/css/RuleFeature.cpp |
diff --git a/Source/core/css/RuleFeature.cpp b/Source/core/css/RuleFeature.cpp |
index b792d56488a15a256a4f6b189f50e2b20f4268ea..6867a79efa45b493905d8b8eb4201b38b3456d54 100644 |
--- a/Source/core/css/RuleFeature.cpp |
+++ b/Source/core/css/RuleFeature.cpp |
@@ -328,7 +328,7 @@ RuleFeatureSet::extractInvalidationSetFeatures(const CSSSelector& selector, Inva |
features.adjacent = current->isAdjacentSelector(); |
return std::make_pair(current->tagHistory(), foundFeatures ? UseFeatures : ForceSubtree); |
} |
- return std::make_pair(nullptr, ForceSubtree); |
+ return std::make_pair(nullptr, foundFeatures ? UseFeatures : ForceSubtree); |
} |
// Add features extracted from the rightmost compound selector to descendant invalidation |