Index: Source/core/css/StyleRule.cpp |
diff --git a/Source/core/css/StyleRule.cpp b/Source/core/css/StyleRule.cpp |
index 299f7a2300de6c5d35881949cf769bdc3f3de127..45ae48fd0fce131d9e81a57342e85f63f4578ba6 100644 |
--- a/Source/core/css/StyleRule.cpp |
+++ b/Source/core/css/StyleRule.cpp |
@@ -29,7 +29,6 @@ |
#include "core/css/CSSKeyframesRule.h" |
#include "core/css/CSSMediaRule.h" |
#include "core/css/CSSPageRule.h" |
-#include "core/css/CSSRegionRule.h" |
#include "core/css/CSSStyleRule.h" |
#include "core/css/CSSSupportsRule.h" |
#include "core/css/CSSViewportRule.h" |
@@ -72,9 +71,6 @@ void StyleRuleBase::destroy() |
case Supports: |
delete toStyleRuleSupports(this); |
return; |
- case Region: |
- delete toStyleRuleRegion(this); |
- return; |
case Import: |
delete toStyleRuleImport(this); |
return; |
@@ -109,8 +105,6 @@ PassRefPtr<StyleRuleBase> StyleRuleBase::copy() const |
return toStyleRuleMedia(this)->copy(); |
case Supports: |
return toStyleRuleSupports(this)->copy(); |
- case Region: |
- return toStyleRuleRegion(this)->copy(); |
case Import: |
// FIXME: Copy import rules. |
ASSERT_NOT_REACHED(); |
@@ -151,9 +145,6 @@ PassRefPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet |
case Supports: |
rule = CSSSupportsRule::create(toStyleRuleSupports(self), parentSheet); |
break; |
- case Region: |
- rule = CSSRegionRule::create(toStyleRuleRegion(self), parentSheet); |
- break; |
case Import: |
rule = CSSImportRule::create(toStyleRuleImport(self), parentSheet); |
break; |
@@ -316,20 +307,6 @@ StyleRuleSupports::StyleRuleSupports(const StyleRuleSupports& o) |
{ |
} |
-StyleRuleRegion::StyleRuleRegion(Vector<OwnPtr<CSSParserSelector> >* selectors, Vector<RefPtr<StyleRuleBase> >& adoptRules) |
- : StyleRuleGroup(Region, adoptRules) |
-{ |
- ASSERT(RuntimeEnabledFeatures::cssRegionsEnabled()); |
- m_selectorList.adoptSelectorVector(*selectors); |
-} |
- |
-StyleRuleRegion::StyleRuleRegion(const StyleRuleRegion& o) |
- : StyleRuleGroup(o) |
- , m_selectorList(o.m_selectorList) |
-{ |
- ASSERT(RuntimeEnabledFeatures::cssRegionsEnabled()); |
-} |
- |
StyleRuleViewport::StyleRuleViewport() |
: StyleRuleBase(Viewport) |
{ |