Bug 108345 - Do not restart the matched properties cache timer if active
Summary: Do not restart the matched properties cache timer if active
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Florin Malita
Depends on:
Blocks: 108229
  Show dependency treegraph
Reported: 2013-01-30 07:37 PST by Florin Malita
Modified: 2013-01-30 09:57 PST (History)
9 users (show)

See Also:

Patch (2.15 KB, patch)
2013-01-30 07:43 PST, Florin Malita
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 WebKit Review Bot 2013-01-30 09:57:21 PST
Comment on attachment 185504 [details]

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.