Remove deprecated V8 function call in Node library

This commit is contained in:
murgatroid99 2016-09-27 14:33:06 -07:00
parent 6a7a801d5b
commit 780c16a1bc
1 changed files with 2 additions and 2 deletions

View File

@ -613,7 +613,7 @@ NAN_METHOD(Call::New) {
return Nan::ThrowTypeError("Call's fourth argument must be a string");
}
call = new Call(wrapped_call);
info.This()->SetHiddenValue(Nan::New("channel_").ToLocalChecked(),
Nan::Set(info.This(), Nan::New("channel_").ToLocalChecked(),
channel_object);
}
call->Wrap(info.This());