| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 82c05f5 commit 3c12941
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,7 +56,8 @@ Local<FunctionTemplate> X509Certificate::GetConstructorTemplate( | |||
| 56 | 56 | Local<FunctionTemplate> tmpl = env->x509_constructor_template(); | |
| 57 | 57 | if (tmpl.IsEmpty()) { | |
| 58 | 58 | tmpl = FunctionTemplate::New(env->isolate()); | |
| 59 | - tmpl->InstanceTemplate()->SetInternalFieldCount(1); | ||
| 59 | + tmpl->InstanceTemplate()->SetInternalFieldCount( | ||
| 60 | + BaseObject::kInternalFieldCount); | ||
| 60 | 61 | tmpl->Inherit(BaseObject::GetConstructorTemplate(env)); | |
| 61 | 62 | tmpl->SetClassName( | |
| 62 | 63 | FIXED_ONE_BYTE_STRING(env->isolate(), "X509Certificate")); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments