Bug 239728 - Introduce new makeStringByReplacingAll(StringView, UChar, UChar) function
Summary: Introduce new makeStringByReplacingAll(StringView, UChar, UChar) function
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-25 09:42 PDT by Chris Dumez
Modified: 2022-04-25 17:13 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-04-25 09:42:07 PDT
Introduce new makeStringByReplacingAll(StringView, UChar, UChar) function, to complement the existing makeStringByReplacingAll(const String&, UChar, UChar). This allows several call sites from avoiding a temporary String constructing since they have a StringView.
Comment 1 Chris Dumez 2022-04-25 10:04:22 PDT
Pull request: https://github.com/WebKit/WebKit/pull/378
Comment 2 EWS 2022-04-25 17:12:50 PDT
Committed r293379 (249969@main): <https://commits.webkit.org/249969@main>

Reviewed commits have been landed. Closing PR #378 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-04-25 17:13:17 PDT
<rdar://problem/92303369>