[webkit-changes] [WebKit/WebKit] 2a66ba: Unreviewed. Remove unnecessary return WTFMove in M...

joonghunpark noreply at github.com
Sun Jan 8 14:19:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a66ba3878d9fcb8adba15b8ecb6b91958d9fc4a
      https://github.com/WebKit/WebKit/commit/2a66ba3878d9fcb8adba15b8ecb6b91958d9fc4a
  Author: Joonghun Park <jh718.park at samsung.com>
  Date:   2023-01-08 (Sun, 08 Jan 2023)

  Changed paths:
    M Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm

  Log Message:
  -----------
  Unreviewed. Remove unnecessary return WTFMove in MediaSessionManagerIOS.mm.
https://bugs.webkit.org/show_bug.cgi?id=250299

The local std::unique_ptr is moved as rvalue at return statement in function automatically by RVO,
so we can remove the unnecessary WTFMove.

* Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm:
(WebCore::PlatformMediaSessionManager::create):

Canonical link: https://commits.webkit.org/258642@main




More information about the webkit-changes mailing list