diff options
Diffstat (limited to 'Tests/LibJS')
-rw-r--r-- | Tests/LibJS/test-js.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibJS/test-js.cpp b/Tests/LibJS/test-js.cpp index f34bb9b584..fdbec81005 100644 --- a/Tests/LibJS/test-js.cpp +++ b/Tests/LibJS/test-js.cpp @@ -84,7 +84,7 @@ TESTJS_GLOBAL_FUNCTION(detach_array_buffer, detachArrayBuffer) return vm.throw_completion<JS::TypeError>(JS::ErrorType::NotAnObjectOfType, "ArrayBuffer"); auto& array_buffer_object = static_cast<JS::ArrayBuffer&>(array_buffer.as_object()); - TRY(JS::detach_array_buffer(global_object, array_buffer_object, vm.argument(1))); + TRY(JS::detach_array_buffer(vm, array_buffer_object, vm.argument(1))); return JS::js_null(); } |