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) { |