| Summary: | [LFC][Painting] Add Display::Run cleanup to TextPainter::clearGlyphDisplayLists | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, mmaxfield, pdr, simon.fraser, webkit-bug-importer, zalan | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
zalan
2020-01-24 07:21:16 PST
Created attachment 388686 [details]
Patch
ifdef all the things Created attachment 388687 [details]
Patch
Comment on attachment 388687 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388687&action=review > Source/WebCore/rendering/TextPainter.cpp:219 > +#if ENABLE(LAYOUT_FORMATTING_CONTEXT) > + GlyphDisplayListCache<Display::Run>::singleton().clear(); > +#endif Could have runtime check too to avoid unnecessary construction of the singleton. Created attachment 388688 [details]
Patch
Comment on attachment 388688 [details] Patch Clearing flags on attachment: 388688 Committed r255074: <https://trac.webkit.org/changeset/255074> All reviewed patches have been landed. Closing bug. |