From ad0d549d4cc13433f77c1ac8f0ab379c83d93f28 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 24 Feb 2012 16:36:50 +0100 Subject: Imported WebKit commit bb52bf3c0119e8a128cd93afe5572413a8617de9 (http://svn.webkit.org/repository/webkit/trunk@108790) --- Source/WebCore/css/WebKitCSSKeyframeRule.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/WebCore/css/WebKitCSSKeyframeRule.cpp') diff --git a/Source/WebCore/css/WebKitCSSKeyframeRule.cpp b/Source/WebCore/css/WebKitCSSKeyframeRule.cpp index 36742a9b3..59f650ff0 100644 --- a/Source/WebCore/css/WebKitCSSKeyframeRule.cpp +++ b/Source/WebCore/css/WebKitCSSKeyframeRule.cpp @@ -38,7 +38,7 @@ WebKitCSSKeyframeRule::WebKitCSSKeyframeRule(CSSStyleSheet* parent) WebKitCSSKeyframeRule::~WebKitCSSKeyframeRule() { if (m_style) - m_style->clearParentRule(); + m_style->clearParentRule(this); } String WebKitCSSKeyframeRule::cssText() const @@ -54,7 +54,6 @@ String WebKitCSSKeyframeRule::cssText() const void WebKitCSSKeyframeRule::setDeclaration(PassRefPtr style) { - ASSERT(style->parentRuleInternal() == this); m_style = style; } -- cgit v1.2.1