| Index: sky/engine/core/css/RuleSet.h
|
| diff --git a/sky/engine/core/css/RuleSet.h b/sky/engine/core/css/RuleSet.h
|
| index 8be80de18bf4c19df55f179887659c75a94eb10d..95722592d14d5a75b1a67f7f4fe45c3d0fd3c2dd 100644
|
| --- a/sky/engine/core/css/RuleSet.h
|
| +++ b/sky/engine/core/css/RuleSet.h
|
| @@ -34,18 +34,13 @@
|
|
|
| namespace blink {
|
|
|
| -enum AddRuleFlags {
|
| - RuleHasNoSpecialState = 0,
|
| - RuleCanUseFastCheckSelector = 1,
|
| -};
|
| -
|
| class CSSSelector;
|
| class StyleSheetContents;
|
|
|
| class RuleData {
|
| ALLOW_ONLY_INLINE_ALLOCATION();
|
| public:
|
| - RuleData(StyleRule*, unsigned selectorIndex, unsigned position, AddRuleFlags);
|
| + RuleData(StyleRule*, unsigned selectorIndex, unsigned position);
|
|
|
| unsigned position() const { return m_position; }
|
| StyleRule* rule() const { return m_rule; }
|
| @@ -77,9 +72,9 @@ class RuleSet {
|
| public:
|
| static PassOwnPtr<RuleSet> create() { return adoptPtr(new RuleSet); }
|
|
|
| - void addRulesFromSheet(StyleSheetContents*, AddRuleFlags = RuleHasNoSpecialState);
|
| - void addStyleRule(StyleRule*, AddRuleFlags);
|
| - void addRule(StyleRule*, unsigned selectorIndex, AddRuleFlags);
|
| + void addRulesFromSheet(StyleSheetContents*);
|
| + void addStyleRule(StyleRule*);
|
| + void addRule(StyleRule*, unsigned selectorIndex);
|
|
|
| const RuleFeatureSet& features() const { return m_features; }
|
|
|
| @@ -116,7 +111,7 @@ private:
|
| void addFontFaceRule(StyleRuleFontFace*);
|
| void addKeyframesRule(StyleRuleKeyframes*);
|
|
|
| - void addChildRules(const Vector<RefPtr<StyleRuleBase> >&, AddRuleFlags);
|
| + void addChildRules(const Vector<RefPtr<StyleRuleBase> >&);
|
| bool findBestRuleSetAndAdd(const CSSSelector&, RuleData&);
|
|
|
| void compactRules();
|
|
|