From 26366d5930dca8f82392d2660f50522dea20020b Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 21 Aug 2022 17:25:31 +0100 Subject: LibJS: Replace GlobalObject with VM in ArrayBuffer AOs [Part 11/19] --- Tests/LibJS/test-js.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/LibJS') 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::ErrorType::NotAnObjectOfType, "ArrayBuffer"); auto& array_buffer_object = static_cast(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(); } -- cgit v1.2.3