| Summary: | Move RenderText::canUseSimplifiedTextMeasuring logic to TextUtil | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | bfulgham, changseok, 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
2023-02-20 12:04:05 PST
Created attachment 465095 [details]
Patch
Created attachment 465101 [details]
Patch
Created attachment 465102 [details]
Patch
Comment on attachment 465102 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=465102&action=review > Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:199 > + auto canUseSimplifiedTextMeasuring = canUseSimpleFontCodePath ? Layout::TextUtil::canUseSimplifiedTextMeasuring(text, style, firstLineStyle.get()) : false; canUseSimpleFontCodePath && Layout::TextUtil::canUseSimplifiedTextMeasuring(text, style, firstLineStyle.get()) is shorter. Created attachment 465110 [details]
Patch
Created attachment 465119 [details]
[fast-cq]Patch
Committed 260675@main (7d5263e5eaa4): <https://commits.webkit.org/260675@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 465119 [details]. |