Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 286bc2f2fea77c9b436308d367630adbceacf939
      
https://github.com/WebKit/WebKit/commit/286bc2f2fea77c9b436308d367630adbceacf939
  Author: Fady Farag <[email protected]>
  Date:   2025-06-01 (Sun, 01 Jun 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/Color.h
    M Source/WebCore/platform/graphics/ColorModels.h
    M Source/WebCore/platform/graphics/ColorTypes.h
    M Source/WebCore/platform/graphics/ImagePaintingOptions.h
    M Source/WebCore/platform/graphics/cairo/CairoOperationRecorder.cpp

  Log Message:
  -----------
  Use more C++ Concepts in WebCore
https://bugs.webkit.org/show_bug.cgi?id=293810
rdar://problem/152321345

Reviewed by Sam Weinig.

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

* Source/WebCore/platform/graphics/Color.h:
* Source/WebCore/platform/graphics/ColorModels.h:
* Source/WebCore/platform/graphics/ImagePaintingOptions.h:
* Source/WebCore/platform/graphics/cairo/CairoOperationRecorder.cpp:
(WebCore::Cairo::createCommand):

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