Bug 108345

Summary: Do not restart the matched properties cache timer if active
Product: WebKit Reporter: Florin Malita <fmalita>
Component: CSSAssignee: Florin Malita <fmalita>
Status: RESOLVED FIXED    
Severity: Normal CC: allan.jensen, cmarcelo, eric, kling, krit, macpherson, menard, ojan.autocc, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 108229    
Attachments:
Description Flags
Patch none

Florin Malita
Reported 2013-01-30 07:37:20 PST
StyleResolver::addToMatchedPropertiesCache() keeps resetting the timer as more than matchedDeclarationCacheAdditionsBetweenSweeps entries are added. When armed, we should let the timer expire at its scheduled time - otherwise it may never get a chance to fire if entries keep getting added.
Attachments
Patch (2.15 KB, patch)
2013-01-30 07:43 PST, Florin Malita
no flags
Florin Malita
Comment 1 2013-01-30 07:43:12 PST
WebKit Review Bot
Comment 2 2013-01-30 09:57:21 PST
Comment on attachment 185504 [details] Patch Clearing flags on attachment: 185504 Committed r141280: <http://trac.webkit.org/changeset/141280>
WebKit Review Bot
Comment 3 2013-01-30 09:57:25 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.