Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a4c6030e03b8177351427b3ae900b151648d4059
      
https://github.com/WebKit/WebKit/commit/a4c6030e03b8177351427b3ae900b151648d4059
  Author: Fady Farag <[email protected]>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/ColorUtilities.h

  Log Message:
  -----------
  Use C++20's Concepts in graphics/ColorUtilities
https://bugs.webkit.org/show_bug.cgi?id=293713
rdar://problem/152199465

Reviewed by Chris Dumez.

Replace std::enable_if with C++20 requires clauses for template constraints.
This should provide better readability and better performance by utilizing
more core langauge features.

* Source/WebCore/platform/graphics/ColorUtilities.h:
(WebCore::isBlack):
(WebCore::isWhite):
(): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to