[webkit-changes] [WebKit/WebKit] 8f1f40: Impossible to use the `WKDownload.PlaceholderPolic...

Richard Robinson noreply at github.com
Sat Dec 28 18:50:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f1f40f775deb2c1479d0b47d20040c7336e5a25
      https://github.com/WebKit/WebKit/commit/8f1f40f775deb2c1479d0b47d20040c7336e5a25
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2024-12-28 (Sat, 28 Dec 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKDownloadDelegatePrivate.h

  Log Message:
  -----------
  Impossible to use the `WKDownload.PlaceholderPolicy` type in Swift when using the internal SDK
https://bugs.webkit.org/show_bug.cgi?id=285172
rdar://142052219

Reviewed by Aditya Keerthi.

This symbol is defined twice, once in the private module and once in the public module, which causes
a compiler error when used in a context that supports importing both modules.

Fix by removing the refined-for-Swift symbol in the private module, which was never needed in the first place.

* Source/WebKit/UIProcess/API/Cocoa/WKDownloadDelegatePrivate.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list