Upgrade node for new V8 API

This commit is contained in:
Cheng Zhao 2014-12-07 13:09:50 -08:00
parent 5dd73e74cb
commit 7bc364a374
5 changed files with 41 additions and 7 deletions

View file

@ -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() {