Bug 303076
| Summary: | Stop using std::call_once() in SVGElement constructors | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | SVG | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
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
Pull request: https://github.com/WebKit/WebKit/pull/54432
EWS
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
<rdar://problem/165384158>