diff --git a/BUILD.gn b/BUILD.gn index 1c877615ef139..14ce1355c2c57 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -960,10 +960,7 @@ if (is_mac) { assert(defined(invoker.helper_name_suffix)) output_name = electron_helper_name + invoker.helper_name_suffix - deps = [ - ":electron_framework+link", - "//base/allocator:early_zone_registration_mac", - ] + deps = [ ":electron_framework+link" ] if (!is_mas_build) { deps += [ "//sandbox/mac:seatbelt" ] } @@ -1124,7 +1121,6 @@ if (is_mac) { ":electron_app_plist", ":electron_app_resources", ":electron_fuses", - "//base/allocator:early_zone_registration_mac", "//electron/buildflags", ] if (is_mas_build) { diff --git a/shell/app/electron_main_mac.cc b/shell/app/electron_main_mac.cc index b32cb64968a0d..a67fbea8c27ce 100644 --- a/shell/app/electron_main_mac.cc +++ b/shell/app/electron_main_mac.cc @@ -5,7 +5,6 @@ #include #include -#include "base/allocator/early_zone_registration_mac.h" #include "electron/buildflags/buildflags.h" #include "electron/fuses.h" #include "shell/app/electron_library_main.h" @@ -28,7 +27,6 @@ namespace { } // namespace int main(int argc, char* argv[]) { - partition_alloc::EarlyMallocZoneRegistration(); FixStdioStreams(); #if BUILDFLAG(ENABLE_RUN_AS_NODE)