Skip to content

Commit d8003c7

Browse files
Merge branch 'philippe/385-fix' into philippe/396-fix
2 parents dd6467d + f4e7923 commit d8003c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BufferType.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ JSObject *BufferType::toJsTypedArray(JSContext *cx, PyObject *pyObject) {
180180
} else {
181181
JS::RootedValue v(cx);
182182
JS::RootedObject uint8ArrayPrototype(cx);
183-
JS_GetClassPrototype(cx, JSProto_Uint8Array, &uint8ArrayPrototype); // so that instanceof will work, not that prototype methods will TEST THIS
183+
JS_GetClassPrototype(cx, JSProto_Uint8Array, &uint8ArrayPrototype); // so that instanceof will work, not that prototype methods will
184184
JSObject *proxy = js::NewProxyObject(cx, &pyBytesProxyHandler, v, uint8ArrayPrototype.get());
185185
JS::SetReservedSlot(proxy, PyObjectSlot, JS::PrivateValue(pyObject));
186186
JS::PersistentRootedObject *arrayBufferPointer = new JS::PersistentRootedObject(cx);

0 commit comments

Comments
 (0)