Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.cc
--- src/3rdparty/chromium/base/process/process_handle.cc.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/process/process_handle.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/process/process_handle.cc | +++ src/3rdparty/chromium/base/process/process_handle.cc | ||||
@@ -39,7 +39,7 @@ uint32_t GetUniqueIdForProcess() { | @@ -30,7 +30,7 @@ UniqueProcId GetUniqueIdForProcess() { | ||||
return g_unique_id; | : UniqueProcId(GetCurrentProcId()); | ||||
} | } | ||||
-#if defined(OS_LINUX) || defined(OS_AIX) | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) | ||||
+#if defined(OS_LINUX) || defined(OS_AIX) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_AIX) || defined(OS_BSD) | ||||
void InitUniqueIdForProcessInPidNamespace(ProcessId pid_outside_of_namespace) { | void InitUniqueIdForProcessInPidNamespace(ProcessId pid_outside_of_namespace) { | ||||
g_unique_id = MangleProcessId(pid_outside_of_namespace); | DCHECK(pid_outside_of_namespace != kNullProcessId); |