Index: Source/core/css/StyleRule.cpp |
diff --git a/Source/core/css/StyleRule.cpp b/Source/core/css/StyleRule.cpp |
index 3309ee16054331d162c2d1c7614598a8af0b7893..b0aeb7bbc1245e9c5fdc9f43e6faae854ecc3941 100644 |
--- a/Source/core/css/StyleRule.cpp |
+++ b/Source/core/css/StyleRule.cpp |
@@ -26,6 +26,7 @@ |
#include "core/css/CSSImportRule.h" |
#include "core/css/CSSKeyframesRule.h" |
#include "core/css/CSSMediaRule.h" |
+#include "core/css/CSSNamespaceRule.h" |
#include "core/css/CSSPageRule.h" |
#include "core/css/CSSStyleRule.h" |
#include "core/css/CSSSupportsRule.h" |
@@ -229,11 +230,13 @@ PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* |
case Keyframes: |
rule = CSSKeyframesRule::create(toStyleRuleKeyframes(self), parentSheet); |
break; |
+ case Namespace: |
+ rule = CSSNamespaceRule::create(toStyleRuleNamespace(self), parentSheet); |
+ break; |
case Viewport: |
rule = CSSViewportRule::create(toStyleRuleViewport(self), parentSheet); |
break; |
case Keyframe: |
- case Namespace: |
case Charset: |
ASSERT_NOT_REACHED(); |
return nullptr; |