Skip to content

Commit

Permalink
src: use V8_ENABLE_SANDBOX macro
Browse files Browse the repository at this point in the history
It was renamed from V8_SANDBOX
  • Loading branch information
targos authored and nodejs-github-bot committed Jun 16, 2022
1 parent ac9d9cb commit 46e75d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cctest/node_test_fixture.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 46e75d9

Please sign in to comment.