WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
303076
Stop using std::call_once() in SVGElement constructors
https://bugs.webkit.org/show_bug.cgi?id=303076
Summary
Stop using std::call_once() in SVGElement constructors
Chris Dumez
Reported
2025-11-24 20:50:13 PST
Stop using std::call_once() in SVGElement constructors and use a simple static boolean variable instead. We do not need thread safety here as SVGElements are always used on the main thread so there is no need to pay the cost of locking.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-11-24 20:51:59 PST
Pull request:
https://github.com/WebKit/WebKit/pull/54432
EWS
Comment 2
2025-11-24 22:55:52 PST
Committed
303522@main
(2acc7d2f8e00): <
https://commits.webkit.org/303522@main
> Reviewed commits have been landed. Closing PR #54432 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-11-24 22:56:14 PST
<
rdar://problem/165384158
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug