summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-04-13 07:33:18 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-13 07:33:18 -0700
commit6a790337f549954a226607be92fadad39366e597 (patch)
treea70e58bbe549f0411377939c46cf4a2e150dd79b /Source/WebCore
parent16e49e63e74d9236b0d8b72846201697a8ebaedc (diff)
parentab525fa648885957ef4a11f7a6796e2d8dac36f4 (diff)
downloadexternal_webkit-6a790337f549954a226607be92fadad39366e597.zip
external_webkit-6a790337f549954a226607be92fadad39366e597.tar.gz
external_webkit-6a790337f549954a226607be92fadad39366e597.tar.bz2
Merge "Cherry-pick WebKit change r88474 to fix a LayoutTest crash"
Diffstat (limited to 'Source/WebCore')
-rw-r--r--Source/WebCore/css/WebKitCSSKeyframesRule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/css/WebKitCSSKeyframesRule.cpp b/Source/WebCore/css/WebKitCSSKeyframesRule.cpp
index 3b41f43..497bd19 100644
--- a/Source/WebCore/css/WebKitCSSKeyframesRule.cpp
+++ b/Source/WebCore/css/WebKitCSSKeyframesRule.cpp
@@ -66,7 +66,8 @@ void WebKitCSSKeyframesRule::setName(const String& name)
// 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