Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.h
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.h
| --- src/3rdparty/chromium/base/process/process_handle.h.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/process/process_handle.h.orig 2021-12-15 16:12:54 UTC | ||||
| +++ src/3rdparty/chromium/base/process/process_handle.h | +++ src/3rdparty/chromium/base/process/process_handle.h | ||||
| @@ -64,7 +64,7 @@ BASE_EXPORT ProcessId GetCurrentProcId(); | @@ -103,7 +103,7 @@ BASE_EXPORT UniqueProcId GetUniqueIdForProcess(); | ||||
| // a process's PID. | // processes may be reused. | ||||
| BASE_EXPORT uint32_t GetUniqueIdForProcess(); | BASE_EXPORT UniqueProcId GetUniqueIdForProcess(); | ||||
| -#if defined(OS_LINUX) | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
| +#if defined(OS_LINUX) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||||
| // When a process is started in a different PID namespace from the browser | // When a process is started in a different PID namespace from the browser | ||||
| // process, this function must be called with the process's PID in the browser's | // process, this function must be called with the process's PID in the browser's | ||||
| // PID namespace in order to initialize its unique ID. Not thread safe. | // PID namespace in order to initialize its unique ID. Not thread safe. | ||||