/[packages]/updates/8/chromium-browser-stable/current/SOURCES/chromium-106-constexpr-color.patch
ViewVC logotype

Contents of /updates/8/chromium-browser-stable/current/SOURCES/chromium-106-constexpr-color.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1892838 - (show annotations) (download)
Tue Sep 27 18:17:39 2022 UTC (18 months, 3 weeks ago) by squidf
File size: 980 byte(s)
- Update to 106.0.5249.61 (mga#30905)
- Update esbuild to 0.15.8
- Update patches and pruning 

1 --- patch/third_party/blink/renderer/platform/graphics/color.cc 2022-09-06 15:55:26.312930915 +0200
2 +++ patch/third_party/blink/renderer/platform/graphics/color.cc.constexpr 2022-09-06 15:54:20.424847747 +0200
3 @@ -172,7 +172,7 @@ constexpr void HSLToRGB(double hue,
4 }
5
6 // Hue is in the range of 0 to 6.0, the remainder are in the range 0 to 1.0
7 -constexpr RGBA32 MakeRGBAFromHSLA(double hue,
8 +inline RGBA32 MakeRGBAFromHSLA(double hue,
9 double saturation,
10 double lightness,
11 double alpha) {
12 @@ -187,7 +187,7 @@ constexpr RGBA32 MakeRGBAFromHSLA(double
13 }
14
15 // Hue is in the range of 0 to 6.0, the remainder are in the range 0 to 1.0
16 -constexpr RGBA32 MakeRGBAFromHWBA(double hue,
17 +inline RGBA32 MakeRGBAFromHWBA(double hue,
18 double white,
19 double black,
20 double alpha) {

  ViewVC Help
Powered by ViewVC 1.1.30