Index: Source/WebCore/css/WebKitCSSKeyframesRule.cpp |
=================================================================== |
--- Source/WebCore/css/WebKitCSSKeyframesRule.cpp (revision 89442) |
+++ Source/WebCore/css/WebKitCSSKeyframesRule.cpp (working copy) |
@@ -66,7 +66,8 @@ |
// Since the name is used in the keyframe map list in CSSStyleSelector, we need |
// to recompute the style sheet to get the updated name. |
- stylesheet()->styleSheetChanged(); |
+ if (stylesheet()) |
+ stylesheet()->styleSheetChanged(); |
} |
unsigned WebKitCSSKeyframesRule::length() const |