We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca81d4b commit 78592a3Copy full SHA for 78592a3
test/cctest/node_test_fixture.h
@@ -61,7 +61,6 @@ class NodeTestFixture : public ::testing::Test {
61
node::MultiIsolatePlatform* Platform() const { return platform_; }
62
63
protected:
64
- v8::Isolate::CreateParams params_;
65
v8::Isolate* isolate_;
66
67
~NodeTestFixture() {
@@ -73,6 +72,7 @@ class NodeTestFixture : public ::testing::Test {
73
72
platform_ = new node::NodePlatform(8, nullptr);
74
v8::V8::InitializePlatform(platform_);
75
v8::V8::Initialize();
+ v8::Isolate::CreateParams params_;
76
params_.array_buffer_allocator = allocator_.get();
77
isolate_ = v8::Isolate::New(params_);
78
}
0 commit comments