Index: Source/core/css/ElementRuleCollector.cpp |
diff --git a/Source/core/css/ElementRuleCollector.cpp b/Source/core/css/ElementRuleCollector.cpp |
index 6675cdce6afe0e97480559f4f9dfe2e77b8200f1..7df346d9937b7c4b975a817869137347db69dcf4 100644 |
--- a/Source/core/css/ElementRuleCollector.cpp |
+++ b/Source/core/css/ElementRuleCollector.cpp |
@@ -218,7 +218,7 @@ void ElementRuleCollector::appendCSSOMWrapperForRule(CSSStyleSheet* parentStyleS |
// |parentStyleSheet| is 0 if and only if the |rule| is coming from User Agent. In this case, |
// it is safe to create CSSOM wrappers without parentStyleSheets as they will be used only |
// by inspector which will not try to edit them. |
- RefPtrWillBeRawPtr<CSSRule> cssRule; |
+ RefPtrWillBeRawPtr<CSSRule> cssRule = nullptr; |
if (parentStyleSheet) |
cssRule = findStyleRule(parentStyleSheet, rule); |
else |