summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-31 15:55:08 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2021-10-31 18:20:37 +0200
commita76cd669b1ec953728b9d8352cfb73321f84268a (patch)
tree015621a0eda1495bcc20389e266b601a4ea8baa6 /Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
parentb883652a834663de04cc23bf05c7942d15a240a2 (diff)
downloadserenity-a76cd669b1ec953728b9d8352cfb73321f84268a.zip
LibWeb: Make GlobalObject the first parameter of WebAssembly AOs
Let's be consistent with the rest of LibJS (and the rest of the file).
Diffstat (limited to 'Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp')
-rw-r--r--Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
index 83647680c2..e5d09f8505 100644
--- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
+++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
@@ -66,7 +66,7 @@ JS::ThrowCompletionOr<JS::Object*> WebAssemblyTableConstructor::construct(Functi
if (value_value.is_undefined())
return Wasm::Value(*reference_type, 0ull);
- return to_webassembly_value(value_value, *reference_type, global_object);
+ return to_webassembly_value(global_object, value_value, *reference_type);
}();
if (auto* exception = vm.exception())