| Index: sky/engine/core/css/StyleRule.cpp
|
| diff --git a/sky/engine/core/css/StyleRule.cpp b/sky/engine/core/css/StyleRule.cpp
|
| index 7e3adfc084961b272ce6cf497db97e4223cd8a7b..f5d70f294057a4ca52f75c0a499d886b7643f916 100644
|
| --- a/sky/engine/core/css/StyleRule.cpp
|
| +++ b/sky/engine/core/css/StyleRule.cpp
|
| @@ -42,9 +42,6 @@ void StyleRuleBase::destroy()
|
| case FontFace:
|
| delete toStyleRuleFontFace(this);
|
| return;
|
| - case Media:
|
| - delete toStyleRuleMedia(this);
|
| - return;
|
| case Supports:
|
| delete toStyleRuleSupports(this);
|
| return;
|
| @@ -52,7 +49,6 @@ void StyleRuleBase::destroy()
|
| delete toStyleRuleKeyframes(this);
|
| return;
|
| case Unknown:
|
| - case Keyframe:
|
| ASSERT_NOT_REACHED();
|
| return;
|
| }
|
| @@ -98,12 +94,6 @@ StyleRuleGroup::StyleRuleGroup(Type type, Vector<RefPtr<StyleRuleBase> >& adoptR
|
| m_childRules.swap(adoptRule);
|
| }
|
|
|
| -StyleRuleMedia::StyleRuleMedia(PassRefPtr<MediaQuerySet> media, Vector<RefPtr<StyleRuleBase> >& adoptRules)
|
| - : StyleRuleGroup(Media, adoptRules)
|
| - , m_mediaQueries(media)
|
| -{
|
| -}
|
| -
|
| StyleRuleSupports::StyleRuleSupports(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase> >& adoptRules)
|
| : StyleRuleGroup(Supports, adoptRules)
|
| , m_conditionText(conditionText)
|
|
|