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

Description Florin Malita 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.
Comment 1 Florin Malita 2013-01-30 07:43:12 PST
Created attachment 185504 [details]
Patch
Comment 2 WebKit Review Bot 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>
Comment 3 WebKit Review Bot 2013-01-30 09:57:25 PST
All reviewed patches have been landed.  Closing bug.