From fd52c62beecc56cbfec57e36aa189f39f0e36f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 16 Jun 2022 14:22:35 +0200 Subject: [PATCH] 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 Reviewed-By: Jiawen Geng Reviewed-By: James M Snell --- test/cctest/node_test_fixture.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/node_test_fixture.cc b/test/cctest/node_test_fixture.cc index 8179c7864436b1..5cbbee8f1ece2c 100644 --- a/test/cctest/node_test_fixture.cc +++ b/test/cctest/node_test_fixture.cc @@ -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(