I got a crash in RenderLayer::currentTransform() when clicking around on an animation-heavy site (Apple internal).
The problem is that getAnimatedStyleForRenderer() can return a null style, and is not expected to.
Created attachment 28504 [details]
A testcase is hard, because it requires fast clicking.
Comment on attachment 28504 [details]
Seems to me we could have just done this in AnimationControllerPrivate::getAnimatedStyleForRenderer and avoided passing that renderer down all those levels. Would that be better?
Darin: I did it this way to avoid another RefPtr<RenderStyle> in getAnimatedStyleForRenderer(). But I can do it that way if you like.
Created attachment 28506 [details]
Comment on attachment 28506 [details]
Seems way better.
Don't forget to fix the change log to only mention the one file you changed.