diff options
author | 2016-09-27 14:33:06 -0700 | |
---|---|---|
committer | 2016-10-24 17:38:04 -0700 | |
commit | ba2d5a678da64109e6e0d79d5fdceecd3ae2b7d3 (patch) | |
tree | 96348572c8b9eb483b69b01b9382872b6d01af3d | |
parent | 13ca42dbae2656b97b3e40e0fa8b63aae7fd5dd5 (diff) |
Remove deprecated V8 function call in Node library
-rw-r--r-- | src/node/ext/call.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/ext/call.cc b/src/node/ext/call.cc index 9f023b5883..b585282d32 100644 --- a/src/node/ext/call.cc +++ b/src/node/ext/call.cc @@ -613,8 +613,8 @@ 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(), - channel_object); + Nan::Set(info.This(), Nan::New("channel_").ToLocalChecked(), + channel_object); } call->Wrap(info.This()); info.GetReturnValue().Set(info.This()); |