summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h')
-rw-r--r--Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h
index a421643973..834c2cc826 100644
--- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h
+++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h
@@ -60,9 +60,9 @@ public:
static Wasm::AbstractMachine s_abstract_machine;
private:
- JS_DECLARE_OLD_NATIVE_FUNCTION(validate);
- JS_DECLARE_OLD_NATIVE_FUNCTION(compile);
- JS_DECLARE_OLD_NATIVE_FUNCTION(instantiate);
+ JS_DECLARE_NATIVE_FUNCTION(validate);
+ JS_DECLARE_NATIVE_FUNCTION(compile);
+ JS_DECLARE_NATIVE_FUNCTION(instantiate);
};
class WebAssemblyMemoryObject final : public JS::Object {