Use node_isolate instead of Isolate::GetCurrent().
This commit is contained in:
parent
363f1da77e
commit
426bc97194
3 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ void AutoUpdater::QuitAndInstall(
|
|||
|
||||
// static
|
||||
void AutoUpdater::Initialize(v8::Handle<v8::Object> target) {
|
||||
v8::HandleScope handle_scope(v8::Isolate::GetCurrent());
|
||||
v8::HandleScope handle_scope(node_isolate);
|
||||
|
||||
v8::Local<v8::FunctionTemplate> t(
|
||||
v8::FunctionTemplate::New(AutoUpdater::New));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue