Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash: make CreateParams stack-allocated
  • Loading branch information
danbev committed Nov 30, 2017
commit 815f61e8b9e511e4fe26a92043604e5bd7ca97ad
2 changes: 1 addition & 1 deletion test/cctest/node_test_fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ class NodeTestFixture : public ::testing::Test {
node::MultiIsolatePlatform* Platform() const { return platform_; }

protected:
v8::Isolate::CreateParams params_;
v8::Isolate* isolate_;

~NodeTestFixture() {
Expand All @@ -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_);
}
Expand Down