Revert "Revert unretained dangling ptr detector crash by default (fixes #3693)"

This reverts commit 8283317cb1.
This commit is contained in:
Marshall Greenblatt 2024-05-17 20:40:18 -04:00
parent 3f036edf2d
commit aad216bf56
2 changed files with 0 additions and 20 deletions

View File

@ -796,13 +796,6 @@ patches = [
# https://chromium-review.googlesource.com/c/chromium/src/+/5454331
'name': 'win_partition_freelist_entry_336007395'
},
{
# Revert unretained dangling ptr detector crash by default.
# https://github.com/chromiumembedded/cef/issues/3693
# Reverts
# https://chromium-review.googlesource.com/c/chromium/src/+/5351597
'name': 'base_allocator_unretained_dangling_ptr_5351597'
},
{
# Fix deadlock with enable_backup_ref_ptr_instance_tracer=true
# https://issues.chromium.org/issues/340815319

View File

@ -1,13 +0,0 @@
diff --git base/allocator/partition_alloc_features.cc base/allocator/partition_alloc_features.cc
index a2616fced0f5b..cacd41b0ffa23 100644
--- base/allocator/partition_alloc_features.cc
+++ base/allocator/partition_alloc_features.cc
@@ -36,7 +36,7 @@ const base::FeatureParam<UnretainedDanglingPtrMode>
kUnretainedDanglingPtrModeParam = {
&kPartitionAllocUnretainedDanglingPtr,
"mode",
- UnretainedDanglingPtrMode::kCrash,
+ UnretainedDanglingPtrMode::kDumpWithoutCrashing,
&kUnretainedDanglingPtrModeOption,
};