Bug 235346 - ColorTypes are no longer constexpr in debug builds due to std::isnan() in range assertions
Summary: ColorTypes are no longer constexpr in debug builds due to std::isnan() in ran...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-18 19:44 PST by Sam Weinig
Modified: 2022-01-19 09:26 PST (History)
2 users (show)

See Also:


Attachments
Patch (2.74 KB, patch)
2022-01-18 19:47 PST, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2022-01-18 19:44:56 PST
ColorTypes are no longer constexpr in debug builds due to std::isnan() in range assertions
Comment 1 Sam Weinig 2022-01-18 19:47:19 PST
Created attachment 449456 [details]
Patch
Comment 2 Tim Horton 2022-01-18 20:26:37 PST
Comment on attachment 449456 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=449456&action=review

> Source/WebCore/platform/graphics/ColorTypes.h:138
> +    // FIXME: Replace std::isnan() once std::isnan() is constexpr.

missing a `with`, I think.
Comment 3 EWS 2022-01-18 21:16:34 PST
Committed r288181 (246162@main): <https://commits.webkit.org/246162@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449456 [details].
Comment 4 Radar WebKit Bug Importer 2022-01-18 21:17:20 PST
<rdar://problem/87751737>
Comment 5 Sam Weinig 2022-01-19 09:26:35 PST
(In reply to Tim Horton from comment #2)
> Comment on attachment 449456 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=449456&action=review
> 
> > Source/WebCore/platform/graphics/ColorTypes.h:138
> > +    // FIXME: Replace std::isnan() once std::isnan() is constexpr.
> 
> missing a `with`, I think.

Indeed.