[webkit-changes] [WebKit/WebKit] 84c6a1: [WebCore] Remove tertiarySystemFillColor selector ...

Rose Silicon noreply at github.com
Tue Sep 3 14:41:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 84c6a1eb31e3d5f9e8163c2b420664ba413d7ba4
      https://github.com/WebKit/WebKit/commit/84c6a1eb31e3d5f9e8163c2b420664ba413d7ba4
  Author: Rose <gfunni234 at gmail.com>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M Source/WebCore/rendering/mac/RenderThemeMac.mm

  Log Message:
  -----------
  [WebCore] Remove tertiarySystemFillColor selector check
https://bugs.webkit.org/show_bug.cgi?id=278999

Reviewed by Aditya Keerthi.

HAVE(NSCOLOR_FILL_COLOR_HIERARCHY) already ensures that this code can
only run on AppKit with tertiarySystemFillColor, meaning that we can
remove the respondsToSelector check.

See:
https://developer.apple.com/documentation/appkit/nscolor/4236446-tertiarysystemfillcolor?language=objc

* Source/WebCore/rendering/mac/RenderThemeMac.mm:
  (WebCore::RenderThemeMac::systemColor const): Remove
  selector check.

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