Bug 238306 - [LFC][IFC] Remove slow codepath matching arithmetics in FontCascade::widthForSimpleText
Summary: [LFC][IFC] Remove slow codepath matching arithmetics in FontCascade::widthFor...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-23 20:34 PDT by zalan
Modified: 2022-03-30 16:56 PDT (History)
8 users (show)

See Also:


Attachments
Patch (3.22 KB, patch)
2022-03-23 20:37 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2022-03-23 20:34:07 PDT
ssia
Comment 1 zalan 2022-03-23 20:37:37 PDT
Created attachment 455600 [details]
Patch
Comment 2 Antti Koivisto 2022-03-24 06:34:20 PDT
Comment on attachment 455600 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=455600&action=review

> Source/WebCore/platform/graphics/FontCascade.cpp:323
> -    float afterWidth = 0;
> +    auto width = 0.f;

good job!
Comment 3 EWS 2022-03-24 12:40:25 PDT
Committed r291811 (248838@main): <https://commits.webkit.org/248838@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455600 [details].
Comment 4 Radar WebKit Bug Importer 2022-03-24 12:41:17 PDT
<rdar://problem/90784805>