We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d676324 commit eef77e4Copy full SHA for eef77e4
src/node_blob.cc
@@ -39,7 +39,8 @@ Local<FunctionTemplate> Blob::GetConstructorTemplate(Environment* env) {
39
Local<FunctionTemplate> tmpl = env->blob_constructor_template();
40
if (tmpl.IsEmpty()) {
41
tmpl = FunctionTemplate::New(env->isolate());
42
- tmpl->InstanceTemplate()->SetInternalFieldCount(1);
+ tmpl->InstanceTemplate()->SetInternalFieldCount(
43
+ BaseObject::kInternalFieldCount);
44
tmpl->Inherit(BaseObject::GetConstructorTemplate(env));
45
tmpl->SetClassName(
46
FIXED_ONE_BYTE_STRING(env->isolate(), "Blob"));
0 commit comments