diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-07-14 19:16:24 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-07-14 19:16:24 -0400 |
commit | 43609ca84694acca988dc0ae591c69ac447659b2 (patch) | |
tree | c82fdae375ed2a5948700dfb8a309de9e3238d7b /www-client/chromium/files/chromium-100-LayoutUnit-constexpr.patch | |
parent | b3c6fc25a909d82262f12df4d55fa8ec6ac392d3 (diff) | |
download | ppo-43609ca84694acca988dc0ae591c69ac447659b2.tar.xz |
chromium: Remove obsolete versions and patches
Diffstat (limited to 'www-client/chromium/files/chromium-100-LayoutUnit-constexpr.patch')
-rw-r--r-- | www-client/chromium/files/chromium-100-LayoutUnit-constexpr.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/www-client/chromium/files/chromium-100-LayoutUnit-constexpr.patch b/www-client/chromium/files/chromium-100-LayoutUnit-constexpr.patch deleted file mode 100644 index 41943c4..0000000 --- a/www-client/chromium/files/chromium-100-LayoutUnit-constexpr.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 23384ca857117c7dff6627847638e0ab2b9a9e6c Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Tue, 25 Jan 2022 17:29:49 +0000 -Subject: [PATCH] GCC: default initialize member in blink::LayoutUnit - constructor - -Before C++20 the compiler is not required to check that members are -initialized before use in constexpr constructors. However, -expressions with undefined behaviour (e.g. due to unitialized data -members) is prohibited for constexpr. Default initialize to -value_ to 0 to workaround the problem. ---- - third_party/blink/renderer/platform/geometry/layout_unit.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/third_party/blink/renderer/platform/geometry/layout_unit.h b/third_party/blink/renderer/platform/geometry/layout_unit.h -index e6cbe37..d1e4f07 100644 ---- a/third_party/blink/renderer/platform/geometry/layout_unit.h -+++ b/third_party/blink/renderer/platform/geometry/layout_unit.h -@@ -95,7 +95,7 @@ class LayoutUnit { - public: - constexpr LayoutUnit() : value_(0) {} - template <typename IntegerType> -- constexpr explicit LayoutUnit(IntegerType value) { -+ constexpr explicit LayoutUnit(IntegerType value) : value_(0) { - if (std::is_signed<IntegerType>::value) - SaturatedSet(static_cast<int>(value)); - else --- -2.34.1 - |