diff --git a/test/cctest/node_test_fixture.h b/test/cctest/node_test_fixture.h index bbc46986ebe922..d5be613c0bd105 100644 --- a/test/cctest/node_test_fixture.h +++ b/test/cctest/node_test_fixture.h @@ -61,7 +61,6 @@ class NodeTestFixture : public ::testing::Test { node::MultiIsolatePlatform* Platform() const { return platform_; } protected: - v8::Isolate::CreateParams params_; v8::Isolate* isolate_; ~NodeTestFixture() { @@ -73,6 +72,7 @@ class NodeTestFixture : public ::testing::Test { platform_ = new node::NodePlatform(8, nullptr); v8::V8::InitializePlatform(platform_); v8::V8::Initialize(); + v8::Isolate::CreateParams params_; params_.array_buffer_allocator = allocator_.get(); isolate_ = v8::Isolate::New(params_); }