diff options
author | Linus Groh <mail@linusgroh.de> | 2021-10-03 02:20:19 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-03 20:14:03 +0100 |
commit | ed5a9aa03850294d7b0280d58ed08f76c606e25c (patch) | |
tree | 73ecdb69d01ceff0d601eff303f7587b55493140 /Userland/Libraries/LibWeb/WebAssembly | |
parent | 3be26f56db0b70c02a361e7ccf797eecfd84ab99 (diff) | |
download | serenity-ed5a9aa03850294d7b0280d58ed08f76c606e25c.zip |
LibJS: Convert set_integrity_level() to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibWeb/WebAssembly')
-rw-r--r-- | Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp | 2 |
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) |