summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp')
-rw-r--r--Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp
index 0e10b1c78f..8dfe5acabd 100644
--- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp
+++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.cpp
@@ -36,9 +36,9 @@ void WebAssemblyObject::initialize(JS::Realm& realm)
Object::initialize(realm);
u8 attr = JS::Attribute::Configurable | JS::Attribute::Writable | JS::Attribute::Enumerable;
- define_native_function("validate", validate, 1, attr);
- define_native_function("compile", compile, 1, attr);
- define_native_function("instantiate", instantiate, 1, attr);
+ define_native_function(realm, "validate", validate, 1, attr);
+ define_native_function(realm, "compile", compile, 1, attr);
+ define_native_function(realm, "instantiate", instantiate, 1, attr);
auto& vm = this->vm();