Bug 226907 - Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatAsPotentiallyTrustworthy()
Summary: Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatA...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-10 16:45 PDT by Chris Dumez
Modified: 2021-06-10 19:57 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.60 KB, patch)
2021-06-10 16:45 PDT, Chris Dumez
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 2021-06-10 16:45:05 PDT
Drop unnecessary call to StringView::toStringWithoutCopying() in shouldTreatAsPotentiallyTrustworthy() since the function we're calling takes a StringView.
Comment 1 Chris Dumez 2021-06-10 16:45:54 PDT
Created attachment 431161 [details]
Patch
Comment 2 EWS 2021-06-10 19:56:36 PDT
Committed r278749 (238710@main): <https://commits.webkit.org/238710@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431161 [details].
Comment 3 Radar WebKit Bug Importer 2021-06-10 19:57:21 PDT
<rdar://problem/79175456>