[webkit-changes] [WebKit/WebKit] 71409d: REGRESSION(260564 at main): NAN is not a valid constexpr

Ross Kirsling noreply at github.com
Mon Feb 20 21:15:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 71409d2fe4b6070edbcb59a05f656461b65535d0
      https://github.com/WebKit/WebKit/commit/71409d2fe4b6070edbcb59a05f656461b65535d0
  Author: Ross Kirsling <ross.kirsling at sony.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/FontDescription.h

  Log Message:
  -----------
  REGRESSION(260564 at main): NAN is not a valid constexpr
https://bugs.webkit.org/show_bug.cgi?id=252642

Unreviewed PlayStation build fix.

* Source/WebCore/platform/graphics/FontDescription.h:
(WebCore::FloatMarkableTraits::emptyValue):
NAN (like std::nanf("") and JSC::pureNaN()) isn't a valid constexpr, but std::numeric_limits<float>::quiet_NaN() is.

Canonical link: https://commits.webkit.org/260589@main




More information about the webkit-changes mailing list