Index: base/process/memory_stubs.cc |
diff --git a/base/process/memory_stubs.cc b/base/process/memory_stubs.cc |
index 7ed012d8803167075dac9f6c75469458276e1643..787d9aef217fc1d5de0c3761f7a6692a634d0a68 100644 |
--- a/base/process/memory_stubs.cc |
+++ b/base/process/memory_stubs.cc |
@@ -19,6 +19,10 @@ bool AdjustOOMScore(ProcessId process, int score) { |
return false; |
} |
+void TerminateBecauseOutOfMemory(size_t size) { |
+ abort(); |
+} |
+ |
// UncheckedMalloc and Calloc exist so that platforms making use of |
// EnableTerminationOnOutOfMemory have a way to allocate memory without |
// crashing. This _stubs.cc file is for platforms that do not support |