Upgrade node for new V8 API
This commit is contained in:
parent
5dd73e74cb
commit
7bc364a374
5 changed files with 41 additions and 7 deletions
|
@ -92,7 +92,7 @@ void AtomRendererClient::WebKitInitialized() {
|
|||
v8::Isolate* isolate = blink::mainThreadIsolate();
|
||||
v8::HandleScope handle_scope(isolate);
|
||||
v8::Local<v8::Context> context = v8::Context::New(isolate);
|
||||
global_env = node::Environment::New(context);
|
||||
global_env = node::Environment::New(context, uv_default_loop());
|
||||
}
|
||||
|
||||
void AtomRendererClient::RenderThreadStarted() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue