Index: Source/WebCore/css/WebKitCSSKeyframesRule.cpp |
=================================================================== |
--- Source/WebCore/css/WebKitCSSKeyframesRule.cpp (revision 81433) |
+++ Source/WebCore/css/WebKitCSSKeyframesRule.cpp (working copy) |
@@ -88,7 +88,14 @@ |
void WebKitCSSKeyframesRule::append(WebKitCSSKeyframeRule* rule) |
{ |
- m_lstCSSRules.get()->append(rule); |
+ if (!rule) |
+ return; |
+ |
+ m_lstCSSRules->append(rule); |
+ rule->setParent(this); |
+ |
+ if (CSSMutableStyleDeclaration* style = rule->style()) |
+ style->setParent(this); |
} |
void WebKitCSSKeyframesRule::insertRule(const String& rule) |