Skip to content

Commit

Permalink
Revert "fix: adopt partition alloc early initialization (#33832)"
Browse files Browse the repository at this point in the history
This reverts commit b53118c.
  • Loading branch information
deepak1556 committed Mar 12, 2023
1 parent feaf18e commit 3890bcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions BUILD.gn
Expand Up @@ -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" ]
}
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 0 additions & 2 deletions shell/app/electron_main_mac.cc
Expand Up @@ -5,7 +5,6 @@
#include <cstdlib>
#include <memory>

#include "base/allocator/early_zone_registration_mac.h"
#include "electron/buildflags/buildflags.h"
#include "electron/fuses.h"
#include "shell/app/electron_library_main.h"
Expand All @@ -28,7 +27,6 @@ namespace {
} // namespace

int main(int argc, char* argv[]) {
partition_alloc::EarlyMallocZoneRegistration();
FixStdioStreams();

#if BUILDFLAG(ENABLE_RUN_AS_NODE)
Expand Down

0 comments on commit 3890bcb

Please sign in to comment.