From 81a69ad0dc31f436a02d87b32407e448c6466366 Mon Sep 17 00:00:00 2001 From: win32ss Date: Mon, 16 Dec 2024 00:27:05 -0500 Subject: [PATCH] (#1030, #1058) Possible mitigation for Windows XP cold start failure --- base/memory/discardable_memory_allocator.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/base/memory/discardable_memory_allocator.cc b/base/memory/discardable_memory_allocator.cc index 9105ad03f76c5d..5d19c662a8f74d 100644 --- a/base/memory/discardable_memory_allocator.cc +++ b/base/memory/discardable_memory_allocator.cc @@ -45,8 +45,6 @@ DiscardableMemoryAllocator::AllocateLockedDiscardableMemoryWithRetryOrDie( ReleaseFreeMemory(); memory = allocator->AllocateLockedDiscardableMemory(size); - if (!memory) - TerminateBecauseOutOfMemory(size); return memory; }