WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
302302
Have MediaPlayerPrivateInterface::defaultSpatialTrackingLabel and spatialTrackingLabel return a String
https://bugs.webkit.org/show_bug.cgi?id=302302
Summary
Have MediaPlayerPrivateInterface::defaultSpatialTrackingLabel and spatialTrac...
Jean-Yves Avenard [:jya]
Reported
2025-11-10 17:42:22 PST
They currently return a `const String&` Returning a reference prevents the ability to use WTF_GUARDED_BY_CAPABILITY and there's no advantage in returning a const String& as it's just a wrapper around a RefPtr<StringImpl>
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-11-10 17:42:28 PST
<
rdar://problem/164443770
>
Jean-Yves Avenard [:jya]
Comment 2
2025-11-10 22:39:20 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53727
EWS
Comment 3
2025-11-11 15:23:19 PST
Committed
302873@main
(2d6710445112): <
https://commits.webkit.org/302873@main
> Reviewed commits have been landed. Closing PR #53727 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug