blob: 1be6cf6f418527bd7e6fce5bdfbade9b8277718b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- src/3rdparty/chromium/content/public/browser/zygote_host/zygote_host_linux.h.orig 2023-03-28 19:45:02 UTC
+++ src/3rdparty/chromium/content/public/browser/zygote_host/zygote_host_linux.h
@@ -35,11 +35,13 @@ class ZygoteHost {
// after the first render has been forked.
virtual int GetRendererSandboxStatus() = 0;
+#if !BUILDFLAG(IS_BSD)
// Adjust the OOM score of the given renderer's PID. The allowed
// range for the score is [0, 1000], where higher values are more
// likely to be killed by the OOM killer.
virtual void AdjustRendererOOMScore(base::ProcessHandle process_handle,
int score) = 0;
+#endif
#if BUILDFLAG(IS_CHROMEOS_ASH)
// Reinitialize logging for the Zygote processes. Needed on ChromeOS, which
|