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

Contents of /updates/8/chromium-browser-stable/current/SOURCES/chromium-109-constexpr-affine_transform.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1932201 - (show annotations) (download)
Tue Jan 10 21:49:46 2023 UTC (15 months, 1 week ago) by squidf
File size: 849 byte(s)
- Update to 109.0.5414.74 (mga#31389)
- Update esbuild to 0.16.4
- Update patches

1 --- patch108/third_party/blink/renderer/platform/transforms/affine_transform.h 2022-12-30 01:40:47.964389000 +0100
2 +++ patch108/third_party/blink/renderer/platform/transforms/affine_transform.h.constexpr 2023-01-02 16:36:41.914666873 +0100
3 @@ -153,10 +153,10 @@ class PLATFORM_EXPORT AffineTransform {
4 return result;
5 }
6
7 - [[nodiscard]] static constexpr AffineTransform MakeSkewX(double angle) {
8 + [[nodiscard]] static inline AffineTransform MakeSkewX(double angle) {
9 return AffineTransform(1, 0, std::tan(Deg2rad(angle)), 1, 0, 0);
10 }
11 - [[nodiscard]] static constexpr AffineTransform MakeSkewY(double angle) {
12 + [[nodiscard]] static inline AffineTransform MakeSkewY(double angle) {
13 return AffineTransform(1, std::tan(Deg2rad(angle)), 0, 1, 0, 0);
14 }
15 [[nodiscard]] static constexpr AffineTransform Translation(double x,

  ViewVC Help
Powered by ViewVC 1.1.30