parent
1c4241bff5
commit
2c282203b5
1 changed files with 4 additions and 4 deletions
|
@ -54,10 +54,10 @@ v8::Isolate* JavascriptEnvironment::Initialize(uv_loop_t* event_loop) {
|
||||||
tracing_controller);
|
tracing_controller);
|
||||||
|
|
||||||
v8::V8::InitializePlatform(platform_);
|
v8::V8::InitializePlatform(platform_);
|
||||||
gin::IsolateHolder::Initialize(
|
gin::IsolateHolder::Initialize(gin::IsolateHolder::kNonStrictMode,
|
||||||
gin::IsolateHolder::kNonStrictMode, gin::IsolateHolder::kStableV8Extras,
|
gin::ArrayBufferAllocator::SharedInstance(),
|
||||||
gin::ArrayBufferAllocator::SharedInstance(),
|
nullptr /* external_reference_table */,
|
||||||
nullptr /* external_reference_table */, false /* create_v8_platform */);
|
false /* create_v8_platform */);
|
||||||
|
|
||||||
v8::Isolate* isolate = v8::Isolate::Allocate();
|
v8::Isolate* isolate = v8::Isolate::Allocate();
|
||||||
platform_->RegisterIsolate(isolate, event_loop);
|
platform_->RegisterIsolate(isolate, event_loop);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue