[webkit-changes] [WebKit/WebKit] e8e13c: Try to fix older visionOS builds (linker)

Etienne Segonzac noreply at github.com
Sun Mar 10 10:40:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e8e13caa503dedb4e2b082974e94f74c3948571a
      https://github.com/WebKit/WebKit/commit/e8e13caa503dedb4e2b082974e94f74c3948571a
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2024-03-10 (Sun, 10 Mar 2024)

  Changed paths:
    M Source/WebKit/WebKitSwift/Preview/PreviewWindowController.swift

  Log Message:
  -----------
  Try to fix older visionOS builds (linker)
https://bugs.webkit.org/show_bug.cgi?id=270763
<rdar://124349498>

Reviewed by Tim Horton.

`WKSPreviewWindowController.h` needs to be part of `WebKitSwift.h`
because of the delegate. So it can't be included only based on a
(compile-time) feature flag.
Introduce a stub `WKSPreviewWindowController` instead for older SDKs,
where the feature is turned off anyway.

* Source/WebKit/WebKitSwift/Preview/PreviewWindowController.swift:

Canonical link: https://commits.webkit.org/275893@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