Bug 55947

Summary: The first time animations are committed they have a bad start time
Product: WebKit Reporter: Chris Marrin <cmarrin>
Component: Layout and RenderingAssignee: Chris Marrin <cmarrin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Bug Depends on:    
Bug Blocks: 52468    
Attachments:
Description Flags
Patch darin: review+

Chris Marrin
Reported 2011-03-08 09:53:13 PST
The animationStarted time fed to the animation controller from CACFLayerTreeHost is derived from WKCACFViewGetLastCommitTime, corrected for the difference between media time (which CACF uses) and system time (which WebKit uses). But the first time a render is performed WKCACFViewGetLastCommitTime is zero. We should check for this case and correct it so webkit doesn't think animations started in the distant past.
Attachments
Patch (1.57 KB, patch)
2011-03-08 10:04 PST, Chris Marrin
darin: review+
Chris Marrin
Comment 1 2011-03-08 10:04:10 PST
Chris Marrin
Comment 2 2011-03-08 10:30:14 PST
Note You need to log in before you can comment on or make changes to this bug.