Chromium Code Reviews| Index: Source/core/css/RuleSet.cpp |
| diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp |
| index ce19a26618365b682055aa6d1f3d5f12b34bb5bf..28654f77971c6aef92f910bef79af0a8bd61bf8d 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) { |
|
eseidel
2013/04/30 00:11:09
I wonder if we need to runtime guard this?
|
| // 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) |