aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc')
-rw-r--r--www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
index 5c97ae660a7b..147faa94e4b7 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_root.cc.orig 2021-04-15 11:28:02 UTC
+--- base/allocator/partition_allocator/partition_root.cc.orig 2021-05-12 22:05:40 UTC
+++ base/allocator/partition_allocator/partition_root.cc
-@@ -20,7 +20,7 @@
+@@ -22,7 +22,7 @@
#include "wow64apiset.h"
#endif
@@ -9,7 +9,7 @@
#include <pthread.h>
#endif
-@@ -34,7 +34,7 @@ namespace {
+@@ -36,7 +36,7 @@ namespace {
#if BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
@@ -18,7 +18,7 @@
// NO_THREAD_SAFETY_ANALYSIS: acquires the lock and doesn't release it, by
// design.
-@@ -87,7 +87,7 @@ void AfterForkInChild() {
+@@ -89,7 +89,7 @@ void AfterForkInChild() {
internal::ThreadCacheRegistry::Instance()
.ForcePurgeAllThreadAfterForkUnsafe();
}
@@ -27,7 +27,7 @@
std::atomic<bool> g_global_init_called;
void PartitionAllocMallocInitOnce() {
-@@ -97,7 +97,7 @@ void PartitionAllocMallocInitOnce() {
+@@ -99,7 +99,7 @@ void PartitionAllocMallocInitOnce() {
if (!g_global_init_called.compare_exchange_strong(expected, true))
return;
@@ -36,7 +36,7 @@
// When fork() is called, only the current thread continues to execute in the
// child process. If the lock is held, but *not* by this thread when fork() is
// called, we have a deadlock.
-@@ -122,7 +122,7 @@ void PartitionAllocMallocInitOnce() {
+@@ -124,7 +124,7 @@ void PartitionAllocMallocInitOnce() {
int err =
pthread_atfork(BeforeForkInParent, AfterForkInParent, AfterForkInChild);
PA_CHECK(err == 0);