Bug 239792 - Drop StringImpl::createFromLiteral()
Summary: Drop StringImpl::createFromLiteral()
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-26 15:40 PDT by Chris Dumez
Modified: 2022-05-06 07:02 PDT (History)
2 users (show)

See Also:


Attachments
Patch for landing (8.50 KB, patch)
2022-05-05 23:12 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-04-26 15:40:59 PDT
Drop StringImpl::createFromLiteral().

Call sites that have an ASCIILiteral can now simply call StringImpl::create(ASCIILiteral). Call sites that have raw characters can call the existing StringImpl::createWithoutCopying().

This simplifies our API a bit.
Comment 1 Chris Dumez 2022-04-26 16:01:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/405
Comment 2 EWS 2022-04-29 10:48:33 PDT
Committed r293621 (250127@main): <https://commits.webkit.org/250127@main>

Reviewed commits have been landed. Closing PR #405 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-04-29 10:49:13 PDT
<rdar://problem/92532725>
Comment 4 Chris Dumez 2022-04-29 17:52:22 PDT
Reopening since it was temporary reverted to address some internal EWS issues.
Comment 5 Chris Dumez 2022-05-03 19:54:33 PDT
Pull request: https://github.com/WebKit/WebKit/pull/490
Comment 6 EWS 2022-05-04 00:03:46 PDT
Committed r293763 (250242@main): <https://commits.webkit.org/250242@main>

Reviewed commits have been landed. Closing PR #490 and removing active labels.
Comment 7 Fujii Hironori 2022-05-05 23:12:54 PDT
Reopening to attach new patch.
Comment 8 Fujii Hironori 2022-05-05 23:12:57 PDT
Created attachment 458934 [details]
Patch for landing
Comment 9 EWS 2022-05-06 00:27:19 PDT
Committed r293882 (250340@main): <https://commits.webkit.org/250340@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 458934 [details].
Comment 10 Chris Dumez 2022-05-06 07:02:46 PDT
(In reply to Fujii Hironori from comment #7)
> Reopening to attach new patch.

Thank you for fixing!