summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ipc_ipc__channel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ipc_ipc__channel.cc')
-rw-r--r--www/chromium/files/patch-ipc_ipc__channel.cc15
1 files changed, 12 insertions, 3 deletions
diff --git a/www/chromium/files/patch-ipc_ipc__channel.cc b/www/chromium/files/patch-ipc_ipc__channel.cc
index d2976060d4d0..c52eea11740b 100644
--- a/www/chromium/files/patch-ipc_ipc__channel.cc
+++ b/www/chromium/files/patch-ipc_ipc__channel.cc
@@ -1,6 +1,6 @@
---- ipc/ipc_channel.cc.orig 2025-10-30 15:44:36 UTC
+--- ipc/ipc_channel.cc.orig 2025-12-05 10:12:50 UTC
+++ ipc/ipc_channel.cc
-@@ -22,7 +22,7 @@ namespace {
+@@ -41,7 +41,7 @@ namespace {
// Global atomic used to guarantee channel IDs are unique.
base::AtomicSequenceNumber g_last_id;
@@ -9,7 +9,16 @@
int g_global_pid = 0;
-@@ -60,7 +60,7 @@ std::string Channel::GenerateUniqueRandomChannelID() {
+@@ -83,7 +83,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe
+ };
+
+ base::ProcessId GetSelfPID() {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (int global_pid = Channel::GetGlobalPid()) {
+ return global_pid;
+ }
+@@ -123,7 +123,7 @@ std::string Channel::GenerateUniqueRandomChannelID() {
base::RandInt(0, std::numeric_limits<int32_t>::max()));
}