Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eb48461bd35bbc969f6a5220b4f2e56b2dfd89c5
https://github.com/WebKit/WebKit/commit/eb48461bd35bbc969f6a5220b4f2e56b2dfd89c5
Author: Chris Dumez <[email protected]>
Date: 2026-03-26 (Thu, 26 Mar 2026)
Changed paths:
M Source/WTF/wtf/StdLibExtras.h
Log Message:
-----------
FORWARD_VARIANT_FUNCTIONS macro is hardcoding name `value`
https://bugs.webkit.org/show_bug.cgi?id=310778
Reviewed by Sam Weinig and Ryosuke Niwa.
FORWARD_VARIANT_FUNCTIONS macro is hardcoding name `value`, instead of
using its `name` parameter.
Works by coincidence because all 4 callers (`Child`, `ChildOrNone`,
`AppleColorFilterValue`, `FilterValue`) pass `value` as the `name`
argument. Would break if anyone used a different member name.
* Source/WTF/wtf/StdLibExtras.h:
Canonical link: https://commits.webkit.org/310028@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications