mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-10-27 07:19:02 +03:00
allocator: Disable double registration check
This commit is contained in:
@@ -201,12 +201,12 @@ void EarlyMallocZoneRegistration() {
|
||||
"The delegating default zone has unexpectedly already been "
|
||||
"registered.");
|
||||
}
|
||||
if (allocator_shim::IsZoneAlreadyRegistered(
|
||||
allocator_shim::kPartitionAllocZoneName)) {
|
||||
abort_report_np(
|
||||
"The PartitionAlloc default zone has unexpectedly already been "
|
||||
"registered.");
|
||||
}
|
||||
// if (allocator_shim::IsZoneAlreadyRegistered(
|
||||
// allocator_shim::kPartitionAllocZoneName)) {
|
||||
// abort_report_np(
|
||||
// "The PartitionAlloc default zone has unexpectedly already been "
|
||||
// "registered.");
|
||||
// }
|
||||
|
||||
// Register puts the new zone at the end, unregister swaps the new zone with
|
||||
// the last one.
|
||||
|
||||
Reference in New Issue
Block a user