diff options
author | Steve Block <steveblock@google.com> | 2012-04-10 18:57:48 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-04-12 17:28:52 +0100 |
commit | ab525fa648885957ef4a11f7a6796e2d8dac36f4 (patch) | |
tree | 944b220223b5fb3fd094e3b34e479fa48af3a17e /Source/WebCore/css | |
parent | f6e5bbe8804f63dfb72c5dce1e225a13b85177a7 (diff) | |
download | external_webkit-ab525fa648885957ef4a11f7a6796e2d8dac36f4.zip external_webkit-ab525fa648885957ef4a11f7a6796e2d8dac36f4.tar.gz external_webkit-ab525fa648885957ef4a11f7a6796e2d8dac36f4.tar.bz2 |
Cherry-pick WebKit change r88474 to fix a LayoutTest crash
fast/css/webkit-keyframes-crash.html
See http://trac.webkit.org/changeset/88474
Bug: 6328781
Change-Id: I9ae7d323b48ff6e55c720595fd27249176e87b8f
Diffstat (limited to 'Source/WebCore/css')
-rw-r--r-- | Source/WebCore/css/WebKitCSSKeyframesRule.cpp | 3 |
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 |