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