Skip to content

Commit 62f5f4c

Browse files
JacksonTiancjihrig
authored andcommitted
src: remove duplicate byteLength from Buffer
Commit 36a7795 introduced a duplicate Buffer byteLength property. PR-URL: #1438 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
1 parent 76f219c commit 62f5f4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_buffer.cc

-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,6 @@ void Initialize(Handle<Object> target,
745745

746746
env->SetMethod(target, "setupBufferJS", SetupBufferJS);
747747

748-
env->SetMethod(target, "byteLength", ByteLength);
749748
env->SetMethod(target, "byteLength", ByteLength);
750749
env->SetMethod(target, "compare", Compare);
751750
env->SetMethod(target, "fill", Fill);

0 commit comments

Comments
 (0)