aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_service__manager_zygote_zygote__host__linux.h
blob: bdf4e5ff2926f99b13c7e2f3afbf42d871d3162d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- services/service_manager/zygote/zygote_host_linux.h.orig	2019-03-11 22:01:02 UTC
+++ services/service_manager/zygote/zygote_host_linux.h
@@ -30,11 +30,13 @@ class ZygoteHost {
   // after the first render has been forked.
   virtual int GetRendererSandboxStatus() const = 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 service_manager