RESOLVED FIXED302302
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
Radar WebKit Bug Importer
Comment 1 2025-11-10 17:42:28 PST
Jean-Yves Avenard [:jya]
Comment 2 2025-11-10 22:39:20 PST
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.