Skip to content

Commit f4e7923

Browse files
comment cleanup
1 parent 38af533 commit f4e7923

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)