diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-31 15:55:08 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-31 18:20:37 +0200 |
commit | a76cd669b1ec953728b9d8352cfb73321f84268a (patch) | |
tree | 015621a0eda1495bcc20389e266b601a4ea8baa6 /Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp | |
parent | b883652a834663de04cc23bf05c7942d15a240a2 (diff) | |
download | serenity-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.cpp | 2 |
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()) |