Bug 232659

Summary: Release+assert build broken due to ColorTypes.h assertInRange
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebCore Misc.Assignee: Sam Weinig <sam>
Status: ASSIGNED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Kimmo Kinnunen
Reported 2021-11-03 02:17:25 PDT
Release+assert build broken due to ColorTypes.h assertInRange assertInRange cannot be constexpr due to it using ASSERT. Conceptually if it fails, we don't want the compiler to assert. ColorSpace.h starts a call chain that invokes the assertInRange in non-constexpr context, so the assert cannot be static_assert. make ra
Attachments
Kimmo Kinnunen
Comment 1 2021-11-03 02:32:33 PDT
also: callWithColorType std::invoke is not constexpr in c++17.
Radar WebKit Bug Importer
Comment 2 2021-11-10 01:18:21 PST
Note You need to log in before you can comment on or make changes to this bug.