diff options
Diffstat (limited to 'Source/WebCore/css/RuleFeature.h')
-rw-r--r-- | Source/WebCore/css/RuleFeature.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebCore/css/RuleFeature.h b/Source/WebCore/css/RuleFeature.h index 5f16288c0..ce6d04e66 100644 --- a/Source/WebCore/css/RuleFeature.h +++ b/Source/WebCore/css/RuleFeature.h @@ -31,8 +31,7 @@ namespace WebCore { class StyleRule; -class RuleFeature { -public: +struct RuleFeature { RuleFeature(StyleRule* rule, unsigned selectorIndex, bool hasDocumentSecurityOrigin) : rule(rule) , selectorIndex(selectorIndex) @@ -44,8 +43,7 @@ public: bool hasDocumentSecurityOrigin; }; -class RuleFeatureSet { -public: +struct RuleFeatureSet { RuleFeatureSet() : usesFirstLineRules(false) , usesBeforeAfterRules(false) @@ -55,6 +53,7 @@ public: void clear(); void reportMemoryUsage(MemoryObjectInfo*) const; HashSet<AtomicStringImpl*> idsInRules; + HashSet<AtomicStringImpl*> classesInRules; HashSet<AtomicStringImpl*> attrsInRules; Vector<RuleFeature> siblingRules; Vector<RuleFeature> uncommonAttributeRules; |