diff options
-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()); |