Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_memory.h
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_process_memory.h
--- src/3rdparty/chromium/base/process/memory.h.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/process/memory.h.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/process/memory.h | +++ src/3rdparty/chromium/base/process/memory.h | ||||
@@ -32,7 +32,7 @@ BASE_EXPORT void EnableTerminationOnOutOfMemory(); | @@ -24,7 +24,7 @@ BASE_EXPORT void TerminateBecauseOutOfMemory(size_t si | ||||
// Crash reporting classifies such crashes as OOM. | // Crash reporting classifies such crashes as OOM. | ||||
BASE_EXPORT void TerminateBecauseOutOfMemory(size_t size); | BASE_EXPORT void TerminateBecauseOutOfMemory(size_t size); | ||||
-#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_AIX) | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || \ | ||||
+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_AIX) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD) || \ | ||||
defined(OS_AIX) | |||||
BASE_EXPORT extern size_t g_oom_size; | BASE_EXPORT extern size_t g_oom_size; | ||||
// The maximum allowed value for the OOM score. |