mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
src: use args.This() instead of Holder
The latter is deprecated in V8. Refs: http://crbug.com/333672197 PR-URL: https://github.com/nodejs/node/pull/53474 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
50 files changed
+356
-382
No files matched your search
@@ -586,11 +586,11 @@ void BindingData::BigIntImpl(BindingData* receiver) {
|
||||
}
|
||||
|
||||
void BindingData::SlowBigInt(const FunctionCallbackInfo<Value>& args) {
|
||||
BigIntImpl(FromJSObject<BindingData>(args.Holder()));
|
||||
BigIntImpl(FromJSObject<BindingData>(args.This()));
|
||||
}
|
||||
|
||||
void BindingData::SlowNumber(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
||||
NumberImpl(FromJSObject<BindingData>(args.Holder()));
|
||||
NumberImpl(FromJSObject<BindingData>(args.This()));
|
||||
}
|
||||
|
||||
bool BindingData::PrepareForSerialization(Local<Context> context,
|
||||
|
||||
Reference in new issue
Block a user