fix: remove explicitly enabled SharedArrayBuffer feature flag
It is enabled by default now.
This commit is contained in:
parent
c6313b3d2d
commit
5017db855c
1 changed files with 0 additions and 6 deletions
|
@ -196,12 +196,6 @@ void AtomBrowserMainParts::InitializeFeatureList() {
|
||||||
auto* cmd_line = base::CommandLine::ForCurrentProcess();
|
auto* cmd_line = base::CommandLine::ForCurrentProcess();
|
||||||
auto enable_features =
|
auto enable_features =
|
||||||
cmd_line->GetSwitchValueASCII(::switches::kEnableFeatures);
|
cmd_line->GetSwitchValueASCII(::switches::kEnableFeatures);
|
||||||
// Node depends on SharedArrayBuffer support, which was temporarily disabled
|
|
||||||
// by https://chromium-review.googlesource.com/c/chromium/src/+/849429 (in
|
|
||||||
// M64) and reenabled by
|
|
||||||
// https://chromium-review.googlesource.com/c/chromium/src/+/1159358 (in
|
|
||||||
// M70). Once Electron upgrades to M70, we can remove this.
|
|
||||||
enable_features += std::string(",") + features::kSharedArrayBuffer.name;
|
|
||||||
auto disable_features =
|
auto disable_features =
|
||||||
cmd_line->GetSwitchValueASCII(::switches::kDisableFeatures);
|
cmd_line->GetSwitchValueASCII(::switches::kDisableFeatures);
|
||||||
#if defined(OS_MACOSX)
|
#if defined(OS_MACOSX)
|
||||||
|
|
Loading…
Add table
Reference in a new issue