| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e341efe commit 0471c57
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -912,7 +912,8 @@ void MyObject::New(const FunctionCallbackInfo<Value>& args) { | |||
| 912 | 912 | const int argc = 1; | |
| 913 | 913 | Local<Value> argv[argc] = { args[0] }; | |
| 914 | 914 | Local<Function> cons = | |
| 915 | - args.Data().As<Object>()->GetInternalField(0).As<Function>(); | ||
| 915 | + args.Data().As<Object>()->GetInternalField(0) | ||
| 916 | + .As<Value>().As<Function>(); | ||
| 916 | 917 | Local<Object> result = | |
| 917 | 918 | cons->NewInstance(context, argc, argv).ToLocalChecked(); | |
| 918 | 919 | args.GetReturnValue().Set(result); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments