Bug 305025
| Summary: | Use move constructor instead of memcpy() for CSSSelector in CSSSelectorList constructor | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | CSS | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Use move constructor instead of memcpy() for CSSSelector in CSSSelectorList constructor. This tested as performance neutral on Speedometer. It also reduces help get rid of one use of `WTF_ALLOW_UNSAFE_BUFFER_USAGE`.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/56179
EWS
Committed 305269@main (e222b940921b): <https://commits.webkit.org/305269@main>
Reviewed commits have been landed. Closing PR #56179 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/167760984>