Chromium Code Reviews| Index: Source/core/css/RuleFeature.h |
| diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h |
| index d380fc983077ac977bdd02fe6660449dbd2a8221..bc098d8924483735be039798e8a495e5eb922f54 100644 |
| --- a/Source/core/css/RuleFeature.h |
| +++ b/Source/core/css/RuleFeature.h |
| @@ -148,17 +148,23 @@ private: |
| InvalidationSetMode updateInvalidationSets(const CSSSelector&); |
| struct InvalidationSetFeatures { |
| - InvalidationSetFeatures() : customPseudoElement(false) { } |
| + InvalidationSetFeatures() |
| + : customPseudoElement(false) |
| + , treeBoundaryCrossing(false) |
| + , wholeSubtree(false) |
| + { } |
| Vector<AtomicString> classes; |
| Vector<AtomicString> attributes; |
| AtomicString id; |
| AtomicString tagName; |
| bool customPseudoElement; |
| + bool treeBoundaryCrossing; |
| + bool wholeSubtree; |
|
rune
2014/05/30 21:02:45
Me likes the way this made the .cpp code more read
|
| }; |
| static void extractInvalidationSetFeature(const CSSSelector&, InvalidationSetFeatures&); |
| const CSSSelector* extractInvalidationSetFeatures(const CSSSelector&, InvalidationSetFeatures&); |
| - void addFeaturesToInvalidationSets(const CSSSelector&, const InvalidationSetFeatures&, bool wholeSubtree); |
| + void addFeaturesToInvalidationSets(const CSSSelector&, InvalidationSetFeatures&); |
| void addClassToInvalidationSet(const AtomicString& className, Element&); |