aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h')
-rw-r--r--www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h b/www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h
new file mode 100644
index 000000000000..4cf5a0186e2d
--- /dev/null
+++ b/www/chromium/files/patch-content_public_browser_zygote__host_zygote__host__linux.h
@@ -0,0 +1,16 @@
+--- content/public/browser/zygote_host/zygote_host_linux.h.orig 2020-11-13 06:36:43 UTC
++++ content/public/browser/zygote_host/zygote_host_linux.h
+@@ -30,11 +30,13 @@ class ZygoteHost {
+ // after the first render has been forked.
+ virtual int GetRendererSandboxStatus() = 0;
+
++#if !defined(OS_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
+ };
+
+ } // namespace content