Bug 250299 - Remove unnecessary return WTFMove in MediaSessionManagerIOS.mm
Summary: Remove unnecessary return WTFMove in MediaSessionManagerIOS.mm
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: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-08 07:52 PST by Joonghun Park
Modified: 2023-01-08 14:19 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonghun Park 2023-01-08 07:52:25 PST
The local std::unique_ptr is moved as rvalue at return statement in function automatically by RVO, so we can remove the unnecessary WTFMove.
Comment 1 EWS 2023-01-08 14:18:56 PST
Committed 258642@main (2a66ba3878d9): <https://commits.webkit.org/258642@main>

Reviewed commits have been landed. Closing PR #8377 and removing active labels.