Index: third_party/WebKit/Source/core/css/RuleFeature.cpp |
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.cpp b/third_party/WebKit/Source/core/css/RuleFeature.cpp |
index 794942095ac495758cf1538b057ab62a95d439b3..740a207cdb3e824647b458898ea0a7494e5a4c30 100644 |
--- a/third_party/WebKit/Source/core/css/RuleFeature.cpp |
+++ b/third_party/WebKit/Source/core/css/RuleFeature.cpp |
@@ -653,19 +653,19 @@ void RuleFeatureSet::addFeaturesToInvalidationSetsForSimpleSelector(const CSSSel |
const CSSSelector* RuleFeatureSet::addFeaturesToInvalidationSetsForCompoundSelector(const CSSSelector& compound, InvalidationSetFeatures* siblingFeatures, InvalidationSetFeatures& descendantFeatures) |
{ |
- bool compoundHasTagIdClassOrAttribute = false; |
+ bool compoundHasIdClassOrAttribute = false; |
const CSSSelector* simpleSelector = &compound; |
for (; simpleSelector; simpleSelector = simpleSelector->tagHistory()) { |
addFeaturesToInvalidationSetsForSimpleSelector(*simpleSelector, siblingFeatures, descendantFeatures); |
if (siblingFeatures) |
- compoundHasTagIdClassOrAttribute |= simpleSelector->isIdClassOrAttributeSelector(); |
+ compoundHasIdClassOrAttribute |= simpleSelector->isIdClassOrAttributeSelector(); |
if (simpleSelector->relation() != CSSSelector::SubSelector) |
break; |
if (!simpleSelector->tagHistory()) |
break; |
} |
- if (siblingFeatures && !compoundHasTagIdClassOrAttribute) |
+ if (siblingFeatures && !compoundHasIdClassOrAttribute) |
addFeaturesToUniversalSiblingInvalidationSet(*siblingFeatures, descendantFeatures); |
return simpleSelector; |