ports/www/chromium/patches/patch-ipc_ipc_channel_mojo_cc

13 lines
459 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: ipc/ipc_channel_mojo.cc
--- ipc/ipc_channel_mojo.cc.orig
+++ ipc/ipc_channel_mojo.cc
@@ -105,7 +105,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;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)