mirror of https://github.com/grpc/grpc-node.git
Remove deprecated V8 function call in Node library
This commit is contained in:
parent
6a7a801d5b
commit
780c16a1bc
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue