summaryrefslogtreecommitdiff
path: root/test/cctest/node_test_fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/cctest/node_test_fixture.h')
-rw-r--r--test/cctest/node_test_fixture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cctest/node_test_fixture.h b/test/cctest/node_test_fixture.h
index bbc46986eb..d5be613c0b 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_);
}