[webkit-changes] [WebKit/WebKit] d2db74: Clarify refcounting in WKMediaSessionCoordinatorFo...

Simon Fraser noreply at github.com
Fri Oct 27 18:08:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d2db744604a4c3523783181e8ce81d93e36c31e7
      https://github.com/WebKit/WebKit/commit/d2db744604a4c3523783181e8ce81d93e36c31e7
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm

  Log Message:
  -----------
  Clarify refcounting in WKMediaSessionCoordinatorForTesting::WKMediaSessionCoordinatorForTesting()
https://bugs.webkit.org/show_bug.cgi?id=263579
rdar://117388768

Reviewed by Eric Carlson.

Immediately put the result of [WKMediaSessionCoordinatorHelper alloc]... into a smart pointer

* Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm:
(-[WKWebView _createMediaSessionCoordinatorForTesting:completionHandler:]):

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




More information about the webkit-changes mailing list