mirror of
https://github.com/nodejs/node.git
synced 2026-10-29 02:35:20 +08: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:
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user