Index: Source/core/css/RuleSet.cpp |
diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp |
index 86ed1a31c1b96a5db7a0f38e100ec511b743fca7..69530697fb0378f7e9e43fc6ef048dca52e8aeaa 100644 |
--- a/Source/core/css/RuleSet.cpp |
+++ b/Source/core/css/RuleSet.cpp |
@@ -331,14 +331,12 @@ void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase> >& rules, const M |
continue; |
resolver->addKeyframeStyle(static_cast<StyleRuleKeyframes*>(rule)); |
} |
-#if ENABLE(CSS_REGIONS) |
else if (rule->isRegionRule() && resolver) { |
// FIXME (BUG 72472): We don't add @-webkit-region rules of scoped style sheets for the moment. |
if (scope) |
continue; |
addRegionRule(static_cast<StyleRuleRegion*>(rule), hasDocumentSecurityOrigin); |
} |
-#endif |
else if (rule->isHostRule()) |
resolver->addHostRule(static_cast<StyleRuleHost*>(rule), hasDocumentSecurityOrigin, scope); |
#if ENABLE(CSS_DEVICE_ADAPTATION) |