blob: 80ef5e08c505dc6442c760b57ed1456fb38febd9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- base/process/memory_stubs.cc.orig 2021-04-22 13:13:03 UTC
+++ base/process/memory_stubs.cc
@@ -19,9 +19,11 @@ bool AdjustOOMScore(ProcessId process, int score) {
return false;
}
+#if !defined(OS_BSD)
void TerminateBecauseOutOfMemory(size_t size) {
abort();
}
+#endif
// UncheckedMalloc and Calloc exist so that platforms making use of
// EnableTerminationOnOutOfMemory have a way to allocate memory without
|