| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d676324 commit eef77e4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,7 +39,8 @@ Local<FunctionTemplate> Blob::GetConstructorTemplate(Environment* env) { | |||
| 39 | 39 | Local<FunctionTemplate> tmpl = env->blob_constructor_template(); | |
| 40 | 40 | if (tmpl.IsEmpty()) { | |
| 41 | 41 | tmpl = FunctionTemplate::New(env->isolate()); | |
| 42 | - tmpl->InstanceTemplate()->SetInternalFieldCount(1); | ||
| 42 | + tmpl->InstanceTemplate()->SetInternalFieldCount( | ||
| 43 | + BaseObject::kInternalFieldCount); | ||
| 43 | 44 | tmpl->Inherit(BaseObject::GetConstructorTemplate(env)); | |
| 44 | 45 | tmpl->SetClassName( | |
| 45 | 46 | FIXED_ONE_BYTE_STRING(env->isolate(), "Blob")); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments