| Index: Source/core/css/RuleFeature.h
|
| diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
|
| index c26efb6c89d376d38cac44876a10789b13b9c0c4..2b4ba5fa89260f3b20f61246c6a863d5694f7937 100644
|
| --- a/Source/core/css/RuleFeature.h
|
| +++ b/Source/core/css/RuleFeature.h
|
| @@ -120,16 +120,19 @@ private:
|
| HashSet<AtomicString> attrsInRules;
|
| };
|
|
|
| - enum SelectorFeatureCollectionMode {
|
| - ProcessClasses,
|
| - DontProcessClasses
|
| + enum InvalidationMode {
|
| + UseInvalidationSets,
|
| + UseLocalStyleChange,
|
| + UseSubtreeStyleChange
|
| };
|
|
|
| - void collectFeaturesFromSelector(const CSSSelector&, FeatureMetadata&, SelectorFeatureCollectionMode processClasses);
|
| - void collectFeaturesFromSelectorList(const CSSSelectorList*, FeatureMetadata&, SelectorFeatureCollectionMode processClasses);
|
| + static InvalidationMode supportsClassDescendantInvalidation(const CSSSelector&);
|
| +
|
| + void collectFeaturesFromSelector(const CSSSelector&, FeatureMetadata&, InvalidationMode);
|
| + void collectFeaturesFromSelectorList(const CSSSelectorList*, FeatureMetadata&, InvalidationMode);
|
|
|
| DescendantInvalidationSet& ensureClassInvalidationSet(const AtomicString& className);
|
| - bool updateClassInvalidationSets(const CSSSelector&);
|
| + InvalidationMode updateClassInvalidationSets(const CSSSelector&);
|
|
|
| void addClassToInvalidationSet(const AtomicString& className, Element*);
|
|
|
|
|