summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAssembly
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-03 02:20:19 +0100
committerLinus Groh <mail@linusgroh.de>2021-10-03 20:14:03 +0100
commited5a9aa03850294d7b0280d58ed08f76c606e25c (patch)
tree73ecdb69d01ceff0d601eff303f7587b55493140 /Userland/Libraries/LibWeb/WebAssembly
parent3be26f56db0b70c02a361e7ccf797eecfd84ab99 (diff)
downloadserenity-ed5a9aa03850294d7b0280d58ed08f76c606e25c.zip
LibJS: Convert set_integrity_level() to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibWeb/WebAssembly')
-rw-r--r--Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp
index c916c47299..48b79c3532 100644
--- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp
+++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp
@@ -54,7 +54,7 @@ void WebAssemblyInstanceObject::initialize(JS::GlobalObject& global_object)
});
}
- m_exports_object->set_integrity_level(IntegrityLevel::Frozen);
+ MUST(m_exports_object->set_integrity_level(IntegrityLevel::Frozen));
}
void WebAssemblyInstanceObject::visit_edges(Visitor& visitor)