summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSRuleList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/css/CSSRuleList.cpp')
-rw-r--r--WebCore/css/CSSRuleList.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/css/CSSRuleList.cpp b/WebCore/css/CSSRuleList.cpp
index 7367ab2..0a312af 100644
--- a/WebCore/css/CSSRuleList.cpp
+++ b/WebCore/css/CSSRuleList.cpp
@@ -76,6 +76,7 @@ void CSSRuleList::deleteRule(unsigned index)
return;
}
+ m_lstCSSRules[index]->setParent(0);
m_lstCSSRules.remove(index);
}