[webkit-changes] [WebKit/WebKit] e57390: Fix the HAVE(ACCESSIBILITY_ANIMATED_IMAGES) build ...

Wenson Hsieh noreply at github.com
Mon Oct 24 21:33:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e57390177a54176fa4004cd32b5be688b7315d03
      https://github.com/WebKit/WebKit/commit/e57390177a54176fa4004cd32b5be688b7315d03
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm

  Log Message:
  -----------
  Fix the HAVE(ACCESSIBILITY_ANIMATED_IMAGES) build for some SDK versions
https://bugs.webkit.org/show_bug.cgi?id=246989

Reviewed by Tim Horton.

Use `SOFT_LINK_OPTIONAL` and `SOFT_LINK_CONSTANT`, respectively, to pull in the new SPI on versions
of the SDK where `HAVE(ACCESSIBILITY_ANIMATED_IMAGES)` is enabled, but these SPI don't yet exist.

* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(SOFT_LINK_CONSTANT):
(WebKit::accessibilityPreferences):
(WebKit::WebProcessPool::registerNotificationObservers):

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




More information about the webkit-changes mailing list