Index: Source/core/css/StyleRule.cpp |
diff --git a/Source/core/css/StyleRule.cpp b/Source/core/css/StyleRule.cpp |
index 3465b2c3b089149dd05c243cad9678d042b271e7..7735706796f59fa40ddd85bee35b38d6a8f6cc62 100644 |
--- a/Source/core/css/StyleRule.cpp |
+++ b/Source/core/css/StyleRule.cpp |
@@ -204,7 +204,7 @@ PassRefPtrWillBeRawPtr<StyleRuleBase> StyleRuleBase::copy() const |
PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet, CSSRule* parentRule) const |
{ |
- RefPtrWillBeRawPtr<CSSRule> rule; |
+ RefPtrWillBeRawPtr<CSSRule> rule = nullptr; |
StyleRuleBase* self = const_cast<StyleRuleBase*>(this); |
switch (type()) { |
case Style: |