summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-131-EnumTable-crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-131-EnumTable-crash.patch')
-rw-r--r--www-client/chromium/files/chromium-131-EnumTable-crash.patch9
1 files changed, 6 insertions, 3 deletions
diff --git a/www-client/chromium/files/chromium-131-EnumTable-crash.patch b/www-client/chromium/files/chromium-131-EnumTable-crash.patch
index 3c72676..f4a6969 100644
--- a/www-client/chromium/files/chromium-131-EnumTable-crash.patch
+++ b/www-client/chromium/files/chromium-131-EnumTable-crash.patch
@@ -1,5 +1,5 @@
diff --git a/components/media_router/common/providers/cast/channel/enum_table.h b/components/media_router/common/providers/cast/channel/enum_table.h
-index 18fd272c6a..2b0cd4b7ab 100644
+index 18fd272c6a..db9d2fb18a 100644
--- a/components/media_router/common/providers/cast/channel/enum_table.h
+++ b/components/media_router/common/providers/cast/channel/enum_table.h
@@ -16,6 +16,7 @@
@@ -54,9 +54,12 @@ index 18fd272c6a..2b0cd4b7ab 100644
return entry ? static_cast<E>(entry->value) : std::optional<E>();
}
-@@ -370,7 +367,7 @@ class EnumTable {
+@@ -368,9 +365,9 @@ class EnumTable {
+
+ private:
#ifdef ARCH_CPU_64_BITS
- alignas(std::hardware_destructive_interference_size)
+- alignas(std::hardware_destructive_interference_size)
++ alignas(64)
#endif
- std::initializer_list<Entry> data_;
+ const std::vector<Entry> data_;