aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-mojo_core_channel.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-mojo_core_channel.cc13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/ungoogled-chromium/files/patch-mojo_core_channel.cc b/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
index 62a857bddb2f..6efae6f2e132 100644
--- a/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
+++ b/www/ungoogled-chromium/files/patch-mojo_core_channel.cc
@@ -1,6 +1,6 @@
---- mojo/core/channel.cc.orig 2025-01-25 09:34:31 UTC
+--- mojo/core/channel.cc.orig 2025-11-01 06:40:37 UTC
+++ mojo/core/channel.cc
-@@ -83,7 +83,11 @@ const size_t kMaxAttachedHandles = 64;
+@@ -81,7 +81,11 @@ const size_t kMaxAttachedHandles = 64;
const size_t kMaxAttachedHandles = 253;
#endif // BUILDFLAG(IS_FUCHSIA)
@@ -12,3 +12,12 @@
Channel::AlignedBuffer MakeAlignedBuffer(size_t size) {
// Generic allocators (such as malloc) return a pointer that is suitably
// aligned for storing any type of object with a fundamental alignment
+@@ -1121,7 +1125,7 @@ bool Channel::OnControlMessage(Message::MessageType me
+ }
+
+ // Currently only CrOs, Linux, and Android support upgrades.
+-#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID))
++#if !(BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD))
+ // static
+ MOJO_SYSTEM_IMPL_EXPORT bool Channel::SupportsChannelUpgrade() {
+ return false;