[webkit-changes] [WebKit/WebKit] 4c7eca: Fix some non-fatal WebKitLegacy linker warnings ab...

Tim Horton noreply at github.com
Sat Nov 5 17:20:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c7eca9bea82a58e3a4012aa2d7ff4f80f09e2b6
      https://github.com/WebKit/WebKit/commit/4c7eca9bea82a58e3a4012aa2d7ff4f80f09e2b6
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2022-11-05 (Sat, 05 Nov 2022)

  Changed paths:
    M Source/WebKitLegacy/mac/WebView/WebPreferences.mm

  Log Message:
  -----------
  Fix some non-fatal WebKitLegacy linker warnings about WebPreferences categories
https://bugs.webkit.org/show_bug.cgi?id=247534

Reviewed by Alex Christensen.

* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(-[WebPreferences isJavaEnabled]):
(-[WebPreferences setJavaEnabled:]):
(-[WebPreferences subpixelAntialiasedLayerTextEnabled]):
(-[WebPreferences setSubpixelAntialiasedLayerTextEnabled:]):
250264 at main incorrectly moved the Java setting to the `WebPrivateObsolete`
category in the implementation file while leaving it in the main interface
in the header. Move it back to match the header.

Also, `WebPrivateObsolete` doesn't match the name in the private header,
which is `WebPrivateDeprecated`. Fix the name.

Also, I failed to move `subpixelAntialiasedLayerTextEnabled` to the correct
category in 256201 at main, so move it now.

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




More information about the webkit-changes mailing list