Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 488300174a1f23895ad44edc82e74527725cab28
https://github.com/WebKit/WebKit/commit/488300174a1f23895ad44edc82e74527725cab28
Author: Fady Farag <[email protected]>
Date: 2025-05-05 (Mon, 05 May 2025)
Changed paths:
M Source/WebCore/page/csp/ContentSecurityPolicy.cpp
M Source/WebCore/page/csp/ContentSecurityPolicy.h
Log Message:
-----------
Use C++ 20's Concepts in csp/ContentSecurityPolicy
https://bugs.webkit.org/show_bug.cgi?id=292307
rdar://problem/150327449
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/page/csp/ContentSecurityPolicy.cpp:
(WebCore::requires):
* Source/WebCore/page/csp/ContentSecurityPolicy.h:
Canonical link: https://commits.webkit.org/294510@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