mirror of
https://github.com/nodejs/node.git
synced 2025-05-01 08:42:45 +00:00
src: use V8_ENABLE_SANDBOX macro
It was renamed from V8_SANDBOX PR-URL: https://github.com/nodejs/node/pull/44741 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
c10988db44
commit
fd52c62bee
@ -19,7 +19,7 @@ void NodeTestEnvironment::SetUp() {
|
||||
NodeZeroIsolateTestFixture::platform.reset(
|
||||
new node::NodePlatform(kV8ThreadPoolSize, tracing_controller));
|
||||
v8::V8::InitializePlatform(NodeZeroIsolateTestFixture::platform.get());
|
||||
#ifdef V8_SANDBOX
|
||||
#ifdef V8_ENABLE_SANDBOX
|
||||
ASSERT_TRUE(v8::V8::InitializeSandbox());
|
||||
#endif
|
||||
cppgc::InitializeProcess(
|
||||
|
Loading…
Reference in New Issue
Block a user