Bug 243189
| Summary: | Evict unused fonts after 4 rendering updates containing paint changes. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matt Woodrow
<rdar://97346409>
We previously evicted fonts from the resource cache if they hadn't been used
for 4 rendering updates. Many rendering updates don't contain any paint changes,
so always count all fonts as 'unused'.
This changes us to only count rendering updates that contain painting towards
deciding if a font has been unused long enough to be evicted.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/2723
EWS
Committed 252844@main (2da5f7dd5dd8): <https://commits.webkit.org/252844@main>
Reviewed commits have been landed. Closing PR #2723 and removing active labels.