Index: Source/core/css/RuleSet.cpp |
diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp |
index d7d56bfa00d70b4c35c69787d068665af8bee9db..2ffda78c0c6b383e914e434ce39743c7f0a64836 100644 |
--- a/Source/core/css/RuleSet.cpp |
+++ b/Source/core/css/RuleSet.cpp |
@@ -393,7 +393,7 @@ void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase> >& rules, const M |
resolver->setBuildScopedStyleTreeInDocumentOrder(false); |
resolver->ensureScopedStyleResolver(scope->shadowHost())->addHostRule(static_cast<StyleRuleHost*>(rule), hasDocumentSecurityOrigin, scope); |
resolver->setBuildScopedStyleTreeInDocumentOrder(enabled); |
- } else if (RuntimeEnabledFeatures::cssViewportEnabled() && rule->isViewportRule()) { |
+ } else if (rule->isViewportRule()) { |
// @viewport should not be scoped. |
if (!isDocumentScope(scope)) |
continue; |