mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Revert unretained dangling ptr detector crash by default (fixes #3693)
This commit is contained in:
@@ -766,5 +766,12 @@ patches = [
|
|||||||
# It is a bit hacky, not suitable for merging into upstream.
|
# It is a bit hacky, not suitable for merging into upstream.
|
||||||
# https://chromium-review.googlesource.com/c/chromium/src/+/5302103
|
# https://chromium-review.googlesource.com/c/chromium/src/+/5302103
|
||||||
'name': 'osr_win_remove_keyed_mutex_2575'
|
'name': 'osr_win_remove_keyed_mutex_2575'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
# 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'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -0,0 +1,13 @@
|
|||||||
|
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,
|
||||||
|
};
|
||||||
|
|
Reference in New Issue
Block a user