RESOLVED FIXED Bug 96972
[Win] Null check timing function received from CoreAnimation when calling CACFAnimationGetTimingFunction.
https://bugs.webkit.org/show_bug.cgi?id=96972
Summary [Win] Null check timing function received from CoreAnimation when calling CAC...
Roger Fong
Reported 2012-09-17 19:44:37 PDT
When paused, some CSS animations cause CoreAnimation to pass back a null timing function when calling CACFAnimationGetTimingFunction. This patch fixes this simply by ensuring that if the output of this method is null, it does not get passed into CACFAnimationSetTimingFunction via the PlatformCAAnimation::copyTimingFunctionFrom method. This is a workaround. There is most likely a more appropriate fix in CoreAnimation to deal with the null return.
Attachments
patch (1.84 KB, patch)
2012-09-17 19:59 PDT, Roger Fong
no flags
patch (1.93 KB, patch)
2012-09-17 20:07 PDT, Roger Fong
thorton: review+
Roger Fong
Comment 1 2012-09-17 19:59:16 PDT
Roger Fong
Comment 2 2012-09-17 20:05:47 PDT
Note that the CACFAnimationSetTimingFunction will always crash when null is passed in for the timingFunc parameter.
Roger Fong
Comment 3 2012-09-17 20:07:34 PDT
Tim Horton
Comment 4 2012-09-17 20:17:54 PDT
Roger Fong
Comment 5 2012-09-17 20:20:09 PDT
Tim Horton
Comment 6 2012-09-17 20:22:27 PDT
You seem to have killed the "Reviewed by" part of the review line :\
Roger Fong
Comment 7 2012-09-17 20:24:56 PDT
oops, i will fix
Note You need to log in before you can comment on or make changes to this bug.